NoOpTestLogger Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Test logger that does nothing with the logs.
public class NoOpTestLogger : Orleans.Runtime.Logger
type NoOpTestLogger = class
inherit Logger
Public Class NoOpTestLogger
Inherits Logger
- Inheritance
Constructors
NoOpTestLogger() |
Fields
Instance |
Singleton instance of logger |
Properties
IsInfo |
Whether the current SeverityLevel would output |
IsVerbose |
Whether the current SeverityLevel would output |
IsVerbose2 |
Whether the current SeverityLevel would output |
IsVerbose3 |
Whether the current SeverityLevel would output |
IsWarning |
Whether the current SeverityLevel would output |
Name |
Name of logger instance |
SeverityLevel |
Logger is off. |
Methods
Extension 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. |