Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- private static void Write([CanBeNull]Exception ex, LogLevel level, string message, [CanBeNull]object[] args)
- {
- string msg = FormatMessage(ex, level, message, args);
- WriteToLogFile(msg);
- WriteToTextWriter(msg);
- #if !WINDOWS_UWP
- WriteToConsole(msg);
- WriteToErrorConsole(msg);
- #endif
- #if !SILVERLIGHT && !__IOS__ && !__ANDROID__ && !WINDOWS_UWP
- WriteToTrace(msg);
- #endif
- }
Add Comment
Please, Sign In to add comment