Last active
August 29, 2015 14:17
-
-
Save zgardner/48132ea09342ec7c4707 to your computer and use it in GitHub Desktop.
Log date, time, and milliseconds to console in C# with stack traced spaces
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
System.Diagnostics.Debug.WriteLine("ZGZGZG " + new String(' ', Environment.StackTrace.Split('\n').Length) + " | " + System.DateTime.UtcNow.ToString("yyyy-MM-dd HH:mm:ss.fff") + " APICall Class Method action"); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment