NoOpTestLogger Class

Definition

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
NoOpTestLogger

Constructors

NoOpTestLogger()

Fields

Instance

Singleton instance of logger

Properties

IsInfo

Whether the current SeverityLevel would output Info messages for this logger.

(Inherited from Logger)
IsVerbose

Whether the current SeverityLevel would output Verbose messages for this logger.

(Inherited from Logger)
IsVerbose2

Whether the current SeverityLevel would output Verbose2 messages for this logger.

(Inherited from Logger)
IsVerbose3

Whether the current SeverityLevel would output Verbose3 messages for this logger.

(Inherited from Logger)
IsWarning

Whether the current SeverityLevel would output Warning messages for this logger.

(Inherited from Logger)
Name

Name of logger instance

SeverityLevel

Logger is off.

Methods

DecrementMetric(String, Double)

Decrement metric does nothing

DecrementMetric(String)

Decrement metric does nothing

GetLogger(String)

Find existing or create new Logger with the specified name

IncrementMetric(String, Double)

Increment metric does nothing

IncrementMetric(String)

Increment metric does nothing

Log(Int32, Severity, String, Object[], Exception)

Log message does nothing

TrackDependency(String, String, DateTimeOffset, TimeSpan, Boolean)

Track dependency does nothing

TrackEvent(String, IDictionary<String,String>, IDictionary<String,Double>)

Track event does nothing

TrackException(Exception, IDictionary<String,String>, IDictionary<String,Double>)

Track exception does nothing

TrackMetric(String, Double, IDictionary<String,String>)

Track metric does nothing

TrackMetric(String, TimeSpan, IDictionary<String,String>)

Track metric does nothing

TrackRequest(String, DateTimeOffset, TimeSpan, String, Boolean)

Track request does nothing

TrackTrace(String, IDictionary<String,String>)

Track trace does nothing

TrackTrace(String, Severity, IDictionary<String,String>)

Track trace does nothing

TrackTrace(String, Severity)

Track trace does nothing

TrackTrace(String)

Track trace does nothing

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.

Applies to