LogFormatter Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Formats values for logging purposes.
public static class LogFormatter
type LogFormatter = class
Public Class LogFormatter
- Inheritance
-
LogFormatter
Fields
MAX_LOG_MESSAGE_SIZE |
Methods
ParseDate(String) |
Parses a date. |
PrintDate(DateTime) |
Utility function to convert a |
PrintException(Exception) |
Utility function to convert an exception into printable format, including expanding and formatting any nested sub-expressions. |
PrintExceptionWithoutStackTrace(Exception) | |
PrintTime(DateTime) |
Utility function to convert a |
SetExceptionDecoder(Type, Func<Exception,String>) |
Configures the exception decoder for the specified exception type. |