Edytuj

Udostępnij za pośrednictwem


LoggerExtensions Class

Definition

public static class LoggerExtensions
type LoggerExtensions = class
Public Module LoggerExtensions
Inheritance
LoggerExtensions

Methods

Error(Logger, Int32, String, Exception)

Writes a log entry at the Error severity level, with the specified log id code. Error is suitable for problem conditions that require immediate administrative response.

GetSubLogger(Logger, String, String)

Finds or creates a logger named after the existing logger with the appended name added.

Info(Logger, Int32, String, Object[])

Writes a log entry at the Info severity level, with the specified log id code. Info is suitable for information that does not indicate an error but that should usually be logged in production. Info is lower than Warning.

Info(Logger, Int32, String)

Writes a log entry at the Info severity level, with the specified log id code. Info is suitable for information that does not indicate an error but that should usually be logged in production. Info is lower than Warning.

Info(Logger, String, Object[])

Writes a log entry at the Info severity level. Info is suitable for information that does not indicate an error but that should usually be logged in production. Info is lower than Warning.

Info(Logger, String)

Writes a log entry at the Info severity level. Info is suitable for information that does not indicate an error but that should usually be logged in production. Info is lower than Warning.

Verbose(Logger, Int32, String, Object[])

Writes a log entry at the Verbose severity level, with the specified log id code. Verbose is suitable for debugging information that should usually not be logged in production. Verbose is lower than Info.

Verbose(Logger, Int32, String)

Writes a log entry at the Verbose severity level, with the specified log id code. Verbose is suitable for debugging information that should usually not be logged in production. Verbose is lower than Info.

Verbose(Logger, String, Object[])

Writes a log entry at the Verbose severity level. Verbose is suitable for debugging information that should usually not be logged in production. Verbose is lower than Info.

Verbose(Logger, String)

Writes a log entry at the Verbose severity level. Verbose is suitable for debugging information that should usually not be logged in production. Verbose is lower than Info.

Verbose2(Logger, Int32, String, Object[])

Writes a log entry at the Verbose2 severity level, with the specified log id code. Verbose2 is lower than Verbose.

Verbose2(Logger, Int32, String)

Writes a log entry at the Verbose2 severity level, with the specified log id code. Verbose2 is lower than Verbose.

Verbose2(Logger, String, Object[])

Writes a log entry at the Verbose2 severity level. Verbose2 is lower than Verbose.

Verbose2(Logger, String)

Writes a log entry at the Verbose2 severity level. Verbose2 is lower than Verbose.

Verbose3(Logger, Int32, String, Object[])

Writes a log entry at the Verbose3 severity level, with the specified log id code. Verbose3 is the lowest severity level.

Verbose3(Logger, Int32, String)

Writes a log entry at the Verbose3 severity level, with the specified log id code. Verbose3 is the lowest severity level.

Verbose3(Logger, String, Object[])

Writes a log entry at the Verbose3 severity level. Verbose3 is the lowest severity level.

Verbose3(Logger, String)

Writes a log entry at the Verbose3 severity level. Verbose3 is the lowest severity level.

Warn(Logger, Int32, String, Exception)

Writes a log entry at the Warning severity level, with the specified log id code. Warning is suitable for problem conditions that the system or application can handle by itself, but that the administrator should be aware of. Typically these are situations that are expected but that may eventually require an administrative response if they recur. Warning is lower than Error.

Warn(Logger, Int32, String, Object[])

Writes a log entry at the Warning severity level, with the specified log id code. Warning is suitable for problem conditions that the system or application can handle by itself, but that the administrator should be aware of. Typically these are situations that are expected but that may eventually require an administrative response if they recur. Warning is lower than Error.

Applies to