JsonLogFormatter Members

The JsonLogFormatter type exposes the following members.

  Name Description
Public method JsonLogFormatter()
Initializes a new instance of the JsonLogFormatter class.
Public method JsonLogFormatter(JsonFormatting)
Initializes a new instance of the JsonLogFormatter class with the specified formatting options.

  Name Description
Public method Static member Deserialize<T>
Deserializes the string representation of a LogEntry into a LogEntry instance.
Public method Equals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected method Finalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public method Format
Formats a log entry and returns a string to be output.
(Overrides LogFormatter.Format(LogEntry).)
Public method GetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public method GetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected method MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public method ToString
Returns a string that represents the current object.
(Inherited from Object.)

  Name Description
Public property Formatting
Gets or sets the formatting of the written event.