Show / Hide Table of Contents

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()
Namespace: DevInstance.LogScope
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
Type Name Description
IScopeManager provider
System.Object scope
Returns
Type Description
IScopeLog
| Improve this Doc View Source

CreateLogger(IScopeManager, Type)

Create a scope

Declaration
public static IScopeLog CreateLogger(this IScopeManager manager, Type scope)
Parameters
Type Name Description
IScopeManager manager

scope manager

System.Type scope
Returns
Type Description
IScopeLog
| 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
Type Description
IScopeLog
| 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
Type Description
IScopeLog
| 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
Type Description
IScopeLog
| 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
Type Description
IScopeLog
| 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
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX