Defines the levels that describe log events.
Inherits: EventSource
Description
The LogEventSource class defines the levels that descrie log events.
Fields
Instance methods
Debug
Debug
void Debug(IContext context, string message)
- context: IContext - (optional) a context to trace execution through a call chain.
- message: string - a human-readable message to log.
Error
Error
void Error(IContext context, string message)
- context: IContext - (optional) a context to trace execution through a call chain.
- message: string - a human-readable message to log.
Fatal
Fatal
void Fatal(IContext context, string message)
- context: IContext - (optional) a context to trace execution through a call chain.
- message: string - a human-readable message to log.
Info
Info
void Info(IContext context, string message)
- context: IContext - (optional) a context to trace execution through a call chain.
- message: string - a human-readable message to log.
Trace
Trace
void Trace(IContext context, string message)
- context: IContext - (optional) a context to trace execution through a call chain.
- message: string - a human-readable message to log.
Warn
Warn
void Warn(IContext context, string message)
- context: IContext - (optional) a context to trace execution through a call chain.
- message: string - a human-readable message to log.