Logger

Logger

Represents a logger instance

Constructors

this
this(string multiArgJoiner)

Constructs a new Logger with the default MessageTransform

this
this(MessageTransform messageTransform, string multiArgJoiner)

Constructs a new Logger with the provided custom message transform

Members

Aliases

dbg
alias dbg = debug_
Undocumented in source.

Functions

args
string args(TextType segments)

Given an arbitrary amount of arguments, convert each to a string and return it as an array joined by the joiner

debug_
void debug_(TextType segments, string c1, string c2, ulong c3, string c4, string c5, string c6)

Logs using the default context an arbitrary amount of arguments specifically setting the context's level to DEBUG

error
void error(TextType segments, string c1, string c2, ulong c3, string c4, string c5, string c6)

Logs using the default context an arbitrary amount of arguments specifically setting the context's level to ERROR

info
void info(TextType segments, string c1, string c2, ulong c3, string c4, string c5, string c6)

Logs using the default context an arbitrary amount of arguments specifically setting the context's level to INFO

log
void log(string text, string c1, string c2, ulong c3, string c4, string c5, string c6)

Logs the given string using the default context

log
void log(TextType segments, string c1, string c2, ulong c3, string c4, string c5, string c6)

Logs using the default context an arbitrary amount of arguments

logImpl
void logImpl(string message)

Logging implementation, this is where the final transformed text will be transferred to and finally logged

logc
void logc(Context context, string text, string c1, string c2, ulong c3, string c4, string c5, string c6)

Logs the given string using the provided context

warn
void warn(TextType segments, string c1, string c2, ulong c3, string c4, string c5, string c6)

Logs using the default context an arbitrary amount of arguments specifically setting the context's level to WARN

Variables

multiArgJoiner
string multiArgJoiner;
Undocumented in source.

Meta