Logger.Write

Write(string)

Writes the specified message to appenders.

public void Write(string message)
ParameterTypeDescription
messageStringThe message to write.

See Also


Write(string, Exception)

Writes the specified message and exception to appenders.

public void Write(string message, Exception exception)
ParameterTypeDescription
messageStringThe message to write.
exceptionExceptionThe exception to write.

See Also


Write(string, Exception, LogLevel)

Writes the specified message and exception to appenders.

public void Write(string message, Exception ex, LogLevel level)
ParameterTypeDescription
messageStringThe message to write.
exExceptionThe exception to write.
levelLogLevelThe log level.

See Also


Write(object)

Writes the specified message to appenders.

public void Write(object message)
ParameterTypeDescription
messageObjectThe message to write.

See Also