C# Класс Aspectacular.MethodCallLoggingExtensions

Holds logging methods accessible to intercepted methods if their parent class implements ICallLogger interface.
Показать файл Открыть проект

Открытые методы

Метод Описание
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.

Приватные методы

Метод Описание
FallbackTraceLog ( EntryType entryType, string format ) : void

Описание методов

Log() публичный статический Метод

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
Результат void

LogError() публичный статический Метод

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
Результат void

LogErrorWithKey() публичный статический Метод

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
Результат void

LogInformation() публичный статический Метод

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
Результат void

LogInformationData() публичный статический Метод

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
Результат void

LogInformationWithKey() публичный статический Метод

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
Результат void

LogWarning() публичный статический Метод

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
Результат void

LogWarningWithKey() публичный статический Метод

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
Результат void