C# Class Aspectacular.MethodCallLoggingExtensions

Holds logging methods accessible to intercepted methods if their parent class implements ICallLogger interface.
Datei anzeigen Open project: vgribok/Aspectacular

Public Methods

Method Description
Log ( this methodLogger, EntryType entryType, string category, string format ) : void

Adds log entry to AOP Proxy log in a way that makes it possible for aspect classes to access it for storing, sorting, grouping, etc.

LogError ( this methodLogger, string format ) : void

Adds error log entry to AOP Proxy log in a way that makes it possible for aspect classes to access it for storing, sorting, grouping, etc.

LogErrorWithKey ( this methodLogger, string category, string format ) : void

Adds error log entry to AOP Proxy log in a way that makes it possible for aspect classes to access it for storing, sorting, grouping, etc.

LogInformation ( this methodLogger, string format ) : void

Adds information log entry to AOP Proxy log in a way that makes it possible for aspect classes to access it for storing, sorting, grouping, etc.

LogInformationData ( this methodLogger, string key, object val ) : void

Logs a piece of data as a log entry with key.

LogInformationWithKey ( this methodLogger, string category, string format ) : void

Adds information log entry to AOP Proxy log in a way that makes it possible for aspect classes to access it for storing, sorting, grouping, etc.

LogWarning ( this methodLogger, string format ) : void

Adds warning log entry to AOP Proxy log in a way that makes it possible for aspect classes to access it for storing, sorting, grouping, etc.

LogWarningWithKey ( this methodLogger, string category, string format ) : void

Adds warning log entry to AOP Proxy log in a way that makes it possible for aspect classes to access it for storing, sorting, grouping, etc.

Private Methods

Method Description
FallbackTraceLog ( EntryType entryType, string format ) : void

Method Details

Log() public static method

Adds log entry to AOP Proxy log in a way that makes it possible for aspect classes to access it for storing, sorting, grouping, etc.
public static Log ( this methodLogger, EntryType entryType, string category, string format ) : void
methodLogger this
entryType EntryType
category string
format string
return void

LogError() public static method

Adds error log entry to AOP Proxy log in a way that makes it possible for aspect classes to access it for storing, sorting, grouping, etc.
public static LogError ( this methodLogger, string format ) : void
methodLogger this
format string
return void

LogErrorWithKey() public static method

Adds error log entry to AOP Proxy log in a way that makes it possible for aspect classes to access it for storing, sorting, grouping, etc.
public static LogErrorWithKey ( this methodLogger, string category, string format ) : void
methodLogger this
category string
format string
return void

LogInformation() public static method

Adds information log entry to AOP Proxy log in a way that makes it possible for aspect classes to access it for storing, sorting, grouping, etc.
public static LogInformation ( this methodLogger, string format ) : void
methodLogger this
format string
return void

LogInformationData() public static method

Logs a piece of data as a log entry with key.
public static LogInformationData ( this methodLogger, string key, object val ) : void
methodLogger this
key string
val object
return void

LogInformationWithKey() public static method

Adds information log entry to AOP Proxy log in a way that makes it possible for aspect classes to access it for storing, sorting, grouping, etc.
public static LogInformationWithKey ( this methodLogger, string category, string format ) : void
methodLogger this
category string
format string
return void

LogWarning() public static method

Adds warning log entry to AOP Proxy log in a way that makes it possible for aspect classes to access it for storing, sorting, grouping, etc.
public static LogWarning ( this methodLogger, string format ) : void
methodLogger this
format string
return void

LogWarningWithKey() public static method

Adds warning log entry to AOP Proxy log in a way that makes it possible for aspect classes to access it for storing, sorting, grouping, etc.
public static LogWarningWithKey ( this methodLogger, string category, string format ) : void
methodLogger this
category string
format string
return void