Table of Contents

Interface IFlowLogger

Namespace
CMS.Plugin.FlowManagement.Abstractions
Assembly
CMS.Plugin.FlowManagement.Abstractions.dll

流日志记录器

public interface IFlowLogger : ILogger
Inherited Members

Properties

CategoryName

Gets the name of the category.

string CategoryName { get; }

Property Value

string

The name of the category.

EnableDebugLog

Gets or sets a value indicating whether [enable debug log].

bool EnableDebugLog { get; set; }

Property Value

bool

true if [enable debug log]; otherwise, false.

Methods

LogDebugMessage(string, string, LogLevel)

Logs the message.

void LogDebugMessage(string message, string currentActivity = null, LogLevel logLevel = LogLevel.Debug)

Parameters

message string

The message.

currentActivity string
logLevel LogLevel

The log level.

LogErrorMessage(string, string, LogLevel)

Logs the error message.

void LogErrorMessage(string message, string currentActivity = null, LogLevel logLevel = LogLevel.Error)

Parameters

message string

The message.

currentActivity string

The current activity.

logLevel LogLevel

The log level.

LogExceptionMessage(Exception, string, LogLevel?)

Logs the exception message.

void LogExceptionMessage(Exception ex, string currentActivity = null, LogLevel? logLevel = LogLevel.Critical)

Parameters

ex Exception

The ex.

currentActivity string

The current activity.

logLevel LogLevel?

The log level.

LogMessage(string, string, LogLevel)

Logs the message.

void LogMessage(string message, string currentActivity = null, LogLevel logLevel = LogLevel.Information)

Parameters

message string

The message.

currentActivity string

The current activity.

logLevel LogLevel

The log level.

LogPressMessage(string, string, string, string, LogLevel)

Logs the press message.

void LogPressMessage(string type, string variable, string quality, string traceId, LogLevel logLevel = LogLevel.Information)

Parameters

type string

The type.

variable string

The variable.

quality string

The quality.

traceId string

The trace identifier.

logLevel LogLevel

The log level.

LogTraceMessage(string, string, LogLevel)

Logs the trace message.

void LogTraceMessage(string message, string currentActivity = null, LogLevel logLevel = LogLevel.Trace)

Parameters

message string

The message.

currentActivity string

The current activity.

logLevel LogLevel

The log level.

LogWarningMessage(string, string, LogLevel)

Logs the message.

void LogWarningMessage(string message, string currentActivity = null, LogLevel logLevel = LogLevel.Warning)

Parameters

message string

The message.

currentActivity string
logLevel LogLevel

The log level.