Spring – Blame information for rev 1
?pathlinks?
Rev | Author | Line No. | Line |
---|---|---|---|
1 | office | 1 | using System.Runtime.CompilerServices; |
2 | |||
3 | namespace Spring.Utilities |
||
4 | { |
||
5 | public static class Debug |
||
6 | { |
||
7 | #region Public Methods |
||
8 | |||
9 | public static void ToDebugConsole(this string message, |
||
10 | [CallerMemberName] string caller = "", |
||
11 | [CallerLineNumber] int line = 0) |
||
12 | { |
||
13 | System.Diagnostics.Debug.WriteLine($"{caller}@{line}:{message}"); |
||
14 | } |
||
15 | |||
16 | #endregion |
||
17 | } |
||
18 | } |