Edytuj

Udostępnij za pośrednictwem


LogFormatter Class

Definition

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 DateTime object into printable data format used by the Logger subsystem.

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 DateTime object into printable time format used by the Logger subsystem.

SetExceptionDecoder(Type, Func<Exception,String>)

Configures the exception decoder for the specified exception type.

Applies to