Click or drag to resize

Logger Methods

The Logger type exposes the following members.

Methods
  NameDescription
Public methodDebug(String, Object)
Log to Serilog sinks using the debug level
Public methodDebug(Exception, String, Object)
Log to Serilog sinks using the debug level
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodError(String, Object)
Log to Serilog sinks using the error level
Public methodError(Exception, String, Object)
Log to Serilog sinks using the error level
Public methodFatal(String, Object)
Log to Serilog sinks using the fatal level
Public methodFatal(Exception, String, Object)
Log to Serilog sinks using the fatal level
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetLogEventLevel
Return the current LogEventLevel
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodInformation(String, Object)
Log to Serilog sinks using the information level
Public methodInformation(Exception, String, Object)
Log to Serilog sinks using the information level
Public methodLevelEnabled
Check if a specific LogEventLevel is enabled
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodSetLogEventLevel
Sets the LogEventLevel
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodWarning(String, Object)
Log to Serilog sinks using the warning level
Public methodWarning(Exception, String, Object)
Log to Serilog sinks using the warning level
Public methodVerbose(String, Object)
Log to Serilog sinks using the verbose level
Public methodVerbose(Exception, String, Object)
Log to Serilog sinks using the verbose level
Top
See Also