Guest User

Untitled

a guest
Apr 23rd, 2018
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.38 KB | None | 0 0
  1. private static void Write([CanBeNull]Exception ex, LogLevel level, string message, [CanBeNull]object[] args)
  2. {
  3. string msg = FormatMessage(ex, level, message, args);
  4.  
  5. WriteToLogFile(msg);
  6. WriteToTextWriter(msg);
  7.  
  8. #if !WINDOWS_UWP
  9. WriteToConsole(msg);
  10. WriteToErrorConsole(msg);
  11. #endif
  12.  
  13. #if !SILVERLIGHT && !__IOS__ && !__ANDROID__ && !WINDOWS_UWP
  14. WriteToTrace(msg);
  15. #endif
  16. }
Add Comment
Please, Sign In to add comment