Interface ILogger
Defines Ignite logging interface.
This interface only provides essential log methods. All convenience overloads are in LoggerExtensions.
Namespace: Apache.Ignite.Core.Log
Assembly: Apache.Ignite.Core.dll
Syntax
public interface ILoggerMethods
IsEnabled(LogLevel)
Determines whether the specified log level is enabled.
Declaration
bool IsEnabled(LogLevel level)Parameters
| Type | Name | Description | 
|---|---|---|
| LogLevel | level | The level. | 
Returns
| Type | Description | 
|---|---|
| System.Boolean | Value indicating whether the specified log level is enabled | 
Log(LogLevel, String, Object[], IFormatProvider, String, String, Exception)
Logs the specified message.
Declaration
void Log(LogLevel level, string message, object[] args, IFormatProvider formatProvider, string category, string nativeErrorInfo, Exception ex)Parameters
| Type | Name | Description | 
|---|---|---|
| LogLevel | level | The level. | 
| System.String | message | The message. | 
| System.Object[] | args | The arguments to format  | 
| IFormatProvider | formatProvider | The format provider. Can be null if  | 
| System.String | category | The logging category name. | 
| System.String | nativeErrorInfo | The native error information. | 
| Exception | ex | The exception. Can be null. |