![]() | TestLogger Class |
Namespace: Neon.Diagnostics
The TestLogger type exposes the following members.
Name | Description | |
---|---|---|
![]() | TestLogger |
Constructor.
|
Name | Description | |
---|---|---|
![]() | ContextId |
Returns the logger's context ID or null.
|
![]() | IsLogCriticalEnabled |
Returns true if critical logging is enabled.
|
![]() | IsLogDebugEnabled |
Returns true if debug logging is enabled.
|
![]() | IsLogErrorEnabled |
Returns true if error logging is enabled.
|
![]() | IsLogInfoEnabled |
Returns true if info logging is enabled.
|
![]() | IsLogSErrorEnabled |
Returns true if serror logging is enabled.
|
![]() | IsLogSInfoEnabled |
Returns true if sinfo logging is enabled.
|
![]() | IsLogTransientEnabled |
Returns true if transient logging is enabled.
|
![]() | IsLogWarnEnabled |
Returns true if warn logging is enabled.
|
Name | Description | |||
---|---|---|---|---|
![]() | BeginScopeTState | Begins a logical operation scope. | ||
![]() ![]() | ClearEvents |
Clears any events recorded by all TestLogger instances that
recorded anything in the current process.
| ||
![]() | Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | ||
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | ||
![]() ![]() | GetEvents | Returns the events logged by any TestLogger instances that recorded anything in the current process. The events will be returned in the order they were logged.
| ||
![]() | GetHashCode | Serves as the default hash function. (Inherited from Object.) | ||
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) | ||
![]() | IsEnabled | Checks if the given logLevel is enabled. | ||
![]() | IsLogLevelEnabled |
Indicates whether logging is enabled for a specific log level.
| ||
![]() | LogTState | Writes a log entry. | ||
![]() | LogCritical(Object, String) |
Logs a critical message.
| ||
![]() | LogCritical(Object, Exception, String) |
Logs a critical message along with exception information.
| ||
![]() | LogDebug(Object, String) |
Logs a debug message.
| ||
![]() | LogDebug(Object, Exception, String) |
Logs a debug message along with exception information.
| ||
![]() | LogError(Object, String) |
Logs an error message.
| ||
![]() | LogError(Object, Exception, String) |
Logs an error message along with exception information.
| ||
![]() | LogInfo(Object, String) |
Logs an info message.
| ||
![]() | LogInfo(Object, Exception, String) |
Logs an info message along with exception information.
| ||
![]() | LogSError(Object, String) |
Logs an serror message.
| ||
![]() | LogSError(Object, Exception, String) |
Logs an serror message along with exception information.
| ||
![]() | LogSInfo(Object, String) |
Logs an sinfo message.
| ||
![]() | LogSInfo(Object, Exception, String) |
Logs an sinfo message along with exception information.
| ||
![]() | LogTransient(Object, String) |
Logs a transient message.
| ||
![]() | LogTransient(Object, Exception, String) |
Logs a transient message along with exception information.
| ||
![]() | LogWarn(Object, String) |
Logs a warn message.
| ||
![]() | LogWarn(Object, Exception, String) |
Logs a warn message along with exception information.
| ||
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | ||
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
Name | Description | |
---|---|---|
![]() | LogCritical(FuncObject) | Overloaded.
Logs a critical message retrieved via a message function.
(Defined by LogExtensions.) |
![]() | LogCritical(Exception) | Overloaded.
Logs a critical exception.
(Defined by LogExtensions.) |
![]() | LogDebug(FuncObject) | Overloaded.
Logs a debug message retrieved via a message function.
(Defined by LogExtensions.) |
![]() | LogDebug(Exception) | Overloaded.
Logs a debug exception.
(Defined by LogExtensions.) |
![]() | LogError(FuncObject) | Overloaded.
Logs an error message retrieved via a message function.
(Defined by LogExtensions.) |
![]() | LogError(Exception) | Overloaded.
Logs an error exception.
(Defined by LogExtensions.) |
![]() | LogInfo(FuncObject) | Overloaded.
Logs an informational message retrieved via a message function.
(Defined by LogExtensions.) |
![]() | LogInfo(Exception) | Overloaded.
Logs an info exception.
(Defined by LogExtensions.) |
![]() | LogTransient(FuncObject) | Overloaded.
Logs a transient message retrieved via a message function.
(Defined by LogExtensions.) |
![]() | LogTransient(Exception) | Overloaded.
Logs a transient exception.
(Defined by LogExtensions.) |
![]() | LogWarn(FuncObject) | Overloaded.
Logs a warning message retrieved via a message function.
(Defined by LogExtensions.) |
![]() | LogWarn(Exception) | Overloaded.
Logs a warning exception.
(Defined by LogExtensions.) |