Overview
-
module Console-
module AdapterThis namespace is reserved for logging adapters provided by other gems.
-
class CaptureA buffer which captures all logged messages into a buffer.
-
module ClockA simple clock utility for tracking and formatting time.
-
module Compatible-
class LoggerA compatible interface for
::Loggerwhich can be used withmodule Console.-
class LogDeviceA compatible log device which can be used with
module Console. Suitable for use with code which (incorrectly) assumes that the log device a public interface and has certain methods/behaviours.
-
-
-
class ConfigRepresents a configuration for the traces library.
-
module EventStructured event logging.
-
class FailureRepresents a failure of some kind, usually with an attached exception.
-
class GenericA generic event which can be used to represent structured data.
-
class SpawnRepresents a child process spawn event.
-
-
class FilterA log filter which can be used to filter log messages based on severity, subject, and other criteria.
-
module Format-
class SafeA safe format for converting objects to strings.
-
-
module InterfaceThe public logger interface.
-
class LoggerThe standard logger interface with support for log levels and verbosity.
-
module OutputOutput handling.
-
module DefaultDefault output format selection.
-
class FailureA wrapper for outputting failure messages, which can include exceptions.
-
class NullA null output that does nothing.
-
class SensitiveRedact sensitive information from output.
-
class FilterA simple filter for redacting sensitive information.
-
class SerializedSerialize log messages in a structured format.
-
class SplitSplit output into multiple outputs.
-
class TerminalRepresents a terminal output, and formats log messages for display.
-
class BufferRepresents an output buffer that formats lines with a prefix.
-
-
module TextTerminal text output.
-
module XTermTerminal XTerm output.
-
class WrapperA generic wrapper for output handling.
-
-
class ProgressA simple progress indicator
-
class ResolverRepresents a class resolver that can be used to set log levels for different classes as they become available.
-
module TerminalStyled terminal output.
-
module FormatterFormatters for various types of events.
-
class FailureFormat a failure event, including the exception message and backtrace.
-
class ProgressFormat a progress event, including the current progress and total.
-
class SpawnFormat a spawn event, including the command and arguments.
-
-
class TextA simple text-based terminal output.
-
class XTermXTerm style terminal output.
-
-
module WarnRedirect warnings to Console.warn.
-