Guest User

Untitled

a guest
May 23rd, 2018
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.30 KB | None | 0 0
  1. public override void Write(string x)
  2. {
  3. // Use whatever format you want here...
  4. base.Write(string.Format("{0:r}: {1}", DateTime.UtcNow, x);
  5. }
  6.  
  7. public override void WriteLine(string x)
  8. {
  9. // Use whatever format you want here...
  10. base.WriteLine(string.Format("{0:r}: {1}", DateTime.UtcNow, x);
  11. }
Add Comment
Please, Sign In to add comment