Table of Contents

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 ILogger

The logger.

logLevel LogLevel

The log level.

message string

The message.

loggerScope ILoggerScope

The logger scope.

args object[]

The arguments.

Returns

LogEventInfo

The LogEventInfo instance.