Log Class

Aerospike client logging facility. Logs can be filtered and message callbacks can be defined to control how log messages are written.

Definition

Namespace: Aerospike.Client
Assembly: AerospikeClient (in AerospikeClient.dll) Version: 7.0.1
C#
public sealed class Log
Inheritance
Object    Log

Constructors

LogInitializes a new instance of the Log class

Methods

Debug(String) Log a debug message.
Debug(LogContext, String) Log a debug message with additional context.
DebugEnabled Determine if debug log level is enabled.
Disable Silence the log.
Error(String) Log an error message.
Error(LogContext, String) Log an error message with additional context.
Info(String) Log an info message.
Info(LogContext, String) Log an info message with additional context.
InfoEnabled Determine if info log level is enabled.
IsSet Determine if log callback has been set by the user.
LogMessage(LogLevel, String) Filter and forward message to callback.
LogMessage(LogContext, LogLevel, String) Filter and forward message with additional context to callback.
SetCallback Set log callback. To silence the log, set callback to null. This method is mutually exclusive with SetContextCallback(LogContextCallback).
SetCallbackStandard Log messages to terminal standard output with timestamp, level and message.
SetContextCallback Set log callback with additional context. To silence the log, set callback to null. This method is mutually exclusive with SetCallback(LogCallback).
SetLevel Set log level filter.
Warn(String) Log a warning message.
Warn(LogContext, String) Log a warning message with additional context.
WarnEnabled Determine if warning log level is enabled.

See Also