sily.logger

Terminal logging utilities

Modules

pixelfont
module sily.logger.pixelfont

Not really optimised pixel font module. Contains 2 fonts. Probably going to be transformed to read "bitmaps" and moved in it's own module

Members

Enums

LogLevel
enum LogLevel

LogLevel to use with setGlobalLogLevel and log!LogLevel

Functions

block
void block(dstring title, dstring message, int width, int _align, bool __logFormatEnabled)
center
void center(dstring message)

Prints message centered in terminal

critical
void critical(S args)
error
void error(S args)
fatal
void fatal(S args)

Alias to same method in private Log defaultLogger, outputs only into stdout

getCompilerInfo
string getCompilerInfo()
Undocumented in source. Be warned that the author may not have intended to support it.
hr
void hr(dchar pattern, dstring message, string lineFormat, string msgFormat, bool __logFormatEnabled)

Prints horizontal ruler

info
void info(S args)
log
void log(S args)

Alias to same method in private Log defaultLogger, outputs only into stdout

logRaw
void logRaw(S args)

Writes raw message to log

message
void message(S args)

Alias to same method in private Log defaultLogger, outputs only into stdout

newline
void newline()

Creates new line (br)

printCompilerInfo
void printCompilerInfo(bool _center)

Prints compiler info in format:

progress
void progress(ProgressBar b, int width, bool __logFormatEnabled)
trace
void trace(S args)
warning
void warning(S args)

Alias to same method in private Log defaultLogger, outputs only into stdout

Structs

Log
struct Log
Undocumented in source.
ProgressBar
struct ProgressBar

Structure containing progress bar info

RichText
struct RichText

NOT READY YET

Meta