BaseLogReceiver

Ecng.Logging

The base implementation ILogReceiver.

Hereda de: BaseLogSource

Implementa: ILogReceiver, ILogSource, IDisposable

Constructores

BaseLogReceiver
protected BaseLogReceiver()
baseLogReceiver = BaseLogReceiver()

Initialize BaseLogReceiver.

Métodos

LogDebug
public void LogDebug(string message, object[] args)
baseLogReceiver.LogDebug(message, args)

To record a debug message to the log.

message
Text message.
args
Text message settings. Used if a message is the format string. For details, see Object[]).
LogError
public void LogError(string message, object[] args)
baseLogReceiver.LogError(message, args)

To record an error to the log.

message
Text message.
args
Text message settings. Used if a message is the format string. For details, see Object[]).
LogError
public void LogError(Exception exception)
baseLogReceiver.LogError(exception)

To record an error to the log.

exception
Error details.
LogInfo
public void LogInfo(string message, object[] args)
baseLogReceiver.LogInfo(message, args)

To record a message to the log.

message
Text message.
args
Text message settings. Used if a message is the format string. For details, see Object[]).
LogVerbose
public void LogVerbose(string message, object[] args)
baseLogReceiver.LogVerbose(message, args)

To record a verbose message to the log.

message
Text message.
args
Text message settings. Used if a message is the format string. For details, see Object[]).
LogWarning
public void LogWarning(string message, object[] args)
baseLogReceiver.LogWarning(message, args)

To record a warning to the log.

message
Text message.
args
Text message settings. Used if a message is the format string. For details, see Object[]).