LogFormatter Class

Definition

Formats values for logging purposes.

C#
public static class LogFormatter
Inheritance
LogFormatter

Fields

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

Toode Versioonid
.NET Orleans 1.5.10, 3.4.5, 3.6.0, 7.0.0, 8.0.0, 8.1.0, 8.2.0, 9.0.0