Method Create
- Namespace
- SLLoggerUtil
- Assembly
- SLLoggerUtil.dll
Create(ILogger, LogLevel, string, ILoggerScope, params object[])
Creates a new instance of LogEventInfo.
public static LogEventInfo Create(ILogger logger, LogLevel logLevel, string message, ILoggerScope loggerScope, params object[] args)
Parameters
logger
ILoggerThe logger.
logLevel
LogLevelThe log level.
message
stringThe message.
loggerScope
ILoggerScopeThe logger scope.
args
object[]The arguments.
Returns
- LogEventInfo
The LogEventInfo instance.