Class CloudShareSyncILogger
Inheritance
System.Object
CloudShareSyncILogger
Assembly: Cloud-ShareSync.Core.Logging.dll
Syntax
public abstract class CloudShareSyncILogger : ILogger
Constructors
|
Improve this Doc
View Source
CloudShareSyncILogger(String)
Declaration
public CloudShareSyncILogger(string serviceName)
Parameters
| Type |
Name |
Description |
| System.String |
serviceName |
|
Fields
|
Improve this Doc
View Source
Log4NetLog
Declaration
readonly ILog? Log4NetLog
Field Value
| Type |
Description |
| System.Nullable<ILog> |
|
Methods
|
Improve this Doc
View Source
BeginScope<TState>(TState)
Declaration
public IDisposable BeginScope<TState>(TState state)
Parameters
| Type |
Name |
Description |
| TState |
state |
|
Returns
| Type |
Description |
| IDisposable |
|
Type Parameters
|
Improve this Doc
View Source
IsDebugEnabled()
Declaration
Returns
| Type |
Description |
| System.Boolean |
|
|
Improve this Doc
View Source
IsEnabled(LogLevel)
Declaration
public bool IsEnabled(LogLevel logLevel)
Parameters
| Type |
Name |
Description |
| LogLevel |
logLevel |
|
Returns
| Type |
Description |
| System.Boolean |
|
|
Improve this Doc
View Source
IsErrorEnabled()
Declaration
Returns
| Type |
Description |
| System.Boolean |
|
|
Improve this Doc
View Source
IsFatalEnabled()
Declaration
Returns
| Type |
Description |
| System.Boolean |
|
|
Improve this Doc
View Source
IsInfoEnabled()
Declaration
Returns
| Type |
Description |
| System.Boolean |
|
|
Improve this Doc
View Source
IsWarnEnabled()
Declaration
Returns
| Type |
Description |
| System.Boolean |
|
|
Improve this Doc
View Source
Log<TState>(LogLevel, EventId, TState, Nullable<Exception>, Func<TState, Nullable<Exception>, String>)
Declaration
public void Log<TState>(LogLevel logLevel, EventId eventId, TState state, Exception? exception, Func<TState, Exception?, string> formatter)
Parameters
| Type |
Name |
Description |
| LogLevel |
logLevel |
|
| EventId |
eventId |
|
| TState |
state |
|
| System.Nullable<Exception> |
exception |
|
| Func<TState, System.Nullable<Exception>, System.String> |
formatter |
|
Type Parameters
|
Improve this Doc
View Source
WriteDebugMessage(ILog, LogLevel, String)
Declaration
static void WriteDebugMessage(ILog log, LogLevel level, string message)
Parameters
| Type |
Name |
Description |
| ILog |
log |
|
| LogLevel |
level |
|
| System.String |
message |
|
|
Improve this Doc
View Source
WriteErrorMessage(ILog, LogLevel, String)
Declaration
static void WriteErrorMessage(ILog log, LogLevel level, string message)
Parameters
| Type |
Name |
Description |
| ILog |
log |
|
| LogLevel |
level |
|
| System.String |
message |
|
|
Improve this Doc
View Source
WriteFatalMessage(ILog, LogLevel, String)
Declaration
static void WriteFatalMessage(ILog log, LogLevel level, string message)
Parameters
| Type |
Name |
Description |
| ILog |
log |
|
| LogLevel |
level |
|
| System.String |
message |
|
|
Improve this Doc
View Source
WriteInfoMessage(ILog, LogLevel, String)
Declaration
static void WriteInfoMessage(ILog log, LogLevel level, string message)
Parameters
| Type |
Name |
Description |
| ILog |
log |
|
| LogLevel |
level |
|
| System.String |
message |
|
|
Improve this Doc
View Source
WriteWarnMessage(ILog, LogLevel, String)
Declaration
static void WriteWarnMessage(ILog log, LogLevel level, string message)
Parameters
| Type |
Name |
Description |
| ILog |
log |
|
| LogLevel |
level |
|
| System.String |
message |
|