Class LoggingExtensions
The goals of extension functions is to maintain simplicity and keep the code clean.
Inheritance
System.Object
LoggingExtensions
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Assembly: DevInstance.LogScope.dll
Syntax
public static class LoggingExtensions
Methods
|
Improve this Doc
View Source
CreateLogger(IScopeManager, Object)
Declaration
public static IScopeLog CreateLogger(this IScopeManager provider, object scope)
Parameters
Returns
|
Improve this Doc
View Source
CreateLogger(IScopeManager, Type)
Declaration
public static IScopeLog CreateLogger(this IScopeManager manager, Type scope)
Parameters
Type |
Name |
Description |
IScopeManager |
manager |
scope manager
|
System.Type |
scope |
|
Returns
|
Improve this Doc
View Source
D(IScopeLog, String)
Declaration
public static void D(this IScopeLog log, string message)
Parameters
Type |
Name |
Description |
IScopeLog |
log |
|
System.String |
message |
|
|
Improve this Doc
View Source
DebugScope(IScopeLog, String)
Declaration
public static IScopeLog DebugScope(this IScopeLog log, string scope = "scope")
Parameters
Type |
Name |
Description |
IScopeLog |
log |
|
System.String |
scope |
|
Returns
|
Improve this Doc
View Source
E(IScopeLog, Exception)
Declaration
public static void E(this IScopeLog log, Exception ex)
Parameters
Type |
Name |
Description |
IScopeLog |
log |
|
System.Exception |
ex |
|
|
Improve this Doc
View Source
E(IScopeLog, String)
Declaration
public static void E(this IScopeLog log, string message)
Parameters
Type |
Name |
Description |
IScopeLog |
log |
|
System.String |
message |
|
|
Improve this Doc
View Source
E(IScopeLog, String, Exception)
Declaration
public static void E(this IScopeLog log, string message, Exception ex)
Parameters
Type |
Name |
Description |
IScopeLog |
log |
|
System.String |
message |
|
System.Exception |
ex |
|
|
Improve this Doc
View Source
ErrorScope(IScopeLog, String)
Declaration
public static IScopeLog ErrorScope(this IScopeLog log, string scope = "scope")
Parameters
Type |
Name |
Description |
IScopeLog |
log |
|
System.String |
scope |
|
Returns
|
Improve this Doc
View Source
I(IScopeLog, String)
Declaration
public static void I(this IScopeLog log, string message)
Parameters
Type |
Name |
Description |
IScopeLog |
log |
|
System.String |
message |
|
|
Improve this Doc
View Source
InfoScope(IScopeLog, String)
Declaration
public static IScopeLog InfoScope(this IScopeLog log, string scope = "scope")
Parameters
Type |
Name |
Description |
IScopeLog |
log |
|
System.String |
scope |
|
Returns
|
Improve this Doc
View Source
T(IScopeLog, String)
Declaration
public static void T(this IScopeLog log, string message)
Parameters
Type |
Name |
Description |
IScopeLog |
log |
|
System.String |
message |
|
|
Improve this Doc
View Source
TraceScope(IScopeLog, String)
Declaration
public static IScopeLog TraceScope(this IScopeLog log, string scope = "scope")
Parameters
Type |
Name |
Description |
IScopeLog |
log |
|
System.String |
scope |
|
Returns
|
Improve this Doc
View Source
W(IScopeLog, String)
Declaration
public static void W(this IScopeLog log, string message)
Parameters
Type |
Name |
Description |
IScopeLog |
log |
|
System.String |
message |
|