Class Logger
- Namespace
- Alis.Core.Aspect.Logging
- Assembly
- Alis.dll
The logger class
public static class Logger
Inheritance
Inherited Members
Properties
DetailLevel
Gets or sets the value of the detail level
public static DetailLevel DetailLevel { get; set; }
Property Value
LogLevel
The normal
public static LogLevel LogLevel { get; set; }
Property Value
Methods
Error(string)
Errors the message
[Conditional("DEBUG")]
public static void Error(string message)
Parameters
message
string-
The message
Event(string)
Events the message
[Conditional("DEBUG")]
public static void Event(string message)
Parameters
message
string-
The message
Event()
Events
[Conditional("DEBUG")]
public static void Event()
Exception(string)
Exceptions the message
[Conditional("DEBUG")]
public static void Exception(string message)
Parameters
message
string-
The message
Exception(Exception)
Exceptions the exception
[Conditional("DEBUG")]
public static void Exception(Exception exception)
Parameters
exception
Exception-
The exception
Info()
Info
[Conditional("DEBUG")]
public static void Info()
Info(string)
Info the message
[Conditional("DEBUG")]
public static void Info(string message)
Parameters
message
string-
The message
Log(string)
Logs the message
[Conditional("DEBUG")]
public static void Log(string message)
Parameters
message
string-
The message
SetDetailLevel(DetailLevel)
Sets the detail level using the specified detail level
[Conditional("DEBUG")]
public static void SetDetailLevel(DetailLevel detailLevel)
Parameters
detailLevel
DetailLevel-
The detail level
SetLogLevel(LogLevel)
Sets the log level using the specified trace
[Conditional("DEBUG")]
public static void SetLogLevel(LogLevel trace)
Parameters
trace
LogLevel-
The trace
Trace()
Traces the message
[Conditional("DEBUG")]
public static void Trace()
Trace(string)
Traces the message
[Conditional("DEBUG")]
public static void Trace(string message)
Parameters
message
string-
The message
Warning(string)
Warnings the message
[Conditional("DEBUG")]
public static void Warning(string message)
Parameters
message
string-
The message