Class BaseLogReceiver
The base implementation ILogReceiver.
public abstract class BaseLogReceiver : BaseLogSource, IPersistable, ILogReceiver, ILogSource, IDisposable
- Inheritance
-
BaseLogReceiver
- Implements
-
IPersistable
- Derived
- Inherited Members
- Extension Methods
Constructors
BaseLogReceiver()
Initialize BaseLogReceiver.
protected BaseLogReceiver()
Methods
LogDebug(string, params object[])
To record a debug message to the log.
public void LogDebug(string message, params object[] args)
Parameters
message
stringText message.
args
object[]Text message settings. Used if a message is the format string. For details, see Format(string, params object[]).
LogError(Exception)
To record an error to the log.
public void LogError(Exception exception)
Parameters
exception
ExceptionError details.
LogError(string, params object[])
To record an error to the log.
public void LogError(string message, params object[] args)
Parameters
message
stringText message.
args
object[]Text message settings. Used if a message is the format string. For details, see Format(string, params object[]).
LogInfo(string, params object[])
To record a message to the log.
public void LogInfo(string message, params object[] args)
Parameters
message
stringText message.
args
object[]Text message settings. Used if a message is the format string. For details, see Format(string, params object[]).
LogVerbose(string, params object[])
To record a verbose message to the log.
public void LogVerbose(string message, params object[] args)
Parameters
message
stringText message.
args
object[]Text message settings. Used if a message is the format string. For details, see Format(string, params object[]).
LogWarning(string, params object[])
To record a warning to the log.
public void LogWarning(string message, params object[] args)
Parameters
message
stringText message.
args
object[]Text message settings. Used if a message is the format string. For details, see Format(string, params object[]).