ConsoleSourceConsoleInterface

module Interface

The public logger interface.

Definitions

def logger

Get the current logger instance.

Implementation

def logger
	Logger.instance
end

def logger= instance

Set the current logger instance.

The current logger instance is assigned per-fiber.

Implementation

def logger= instance
	Logger.instance= instance
end

def debug(...)

Emit a debug log message.

Implementation

def debug(...)
	Logger.instance.debug(...)
end

def info(...)

Emit an informational log message.

Implementation

def info(...)
	Logger.instance.info(...)
end

def warn(...)

Emit a warning log message.

Implementation

def warn(...)
	Logger.instance.warn(...)
end

def error(...)

Emit an error log message.

Implementation

def error(...)
	Logger.instance.error(...)
end

def fatal(...)

Emit a fatal log message.

Implementation

def fatal(...)
	Logger.instance.fatal(...)
end

def call(...)

Emit a log message with arbitrary arguments and options.

Implementation

def call(...)
	Logger.instance.call(...)
end