# Functions
AccessLog - Format and print access log.
Alert logs a message at alert level.
Async set the bhojpurlogger with Async mode and hold msglen messages.
ColorByMethod return color by http code.
ColorByStatus return color by http code 2xx return Green 3xx return White 4xx return Yellow 5xx return Red.
Critical logs a message at critical level.
Debug logs a message at debug level.
Emergency logs a message at emergency level.
EnableFullFilePath enables full file path logging.
EnableFuncCallDepth enable log funcCallDepth.
Error logs a message at error level.
GetBhojpurLogger returns the default BhojpurLogger.
No description provided by the author
GetLogger returns the default BhojpurLogger.
Info compatibility alias for Warning().
Informational logs a message at info level.
NewConn creates new ConnWrite returning as LoggerInterface.
NewConsole creates ConsoleWriter returning as LoggerInterface.
NewLogger returns a new BhojpurLogger.
Notice logs a message at notice level.
Register makes a log provide available by the provided name.
RegisterFormatter register an formatter.
Reset will remove all the adapter.
ResetColor return reset color.
SetGlobalFormatter sets the global formatter for all log adapters don't forget to register the formatter by invoking RegisterFormatter.
SetLevel sets the global log level used by the simple logger.
SetLogFuncCall set the CallDepth, default is 4.
SetLogFuncCallDepth set log funcCallDepth.
SetLogger sets a new logger.
SetPrefix sets the prefix.
Trace logs a message at trace level.
Warn compatibility alias for Warning().
Warning logs a message at warning level.
# Constants
Name for adapter with Bhojpur official support.
Name for adapter with Bhojpur official support.
Name for adapter with Bhojpur official support.
Name for adapter with Bhojpur official support.
Name for adapter with Bhojpur official support.
Name for adapter with Bhojpur official support.
Name for adapter with Bhojpur official support.
Name for adapter with Bhojpur official support.
Name for adapter with Bhojpur official support.
RFC5424 log message levels.
RFC5424 log message levels.
RFC5424 log message levels.
RFC5424 log message levels.
RFC5424 log message levels.
Legacy log level constants to ensure backwards compatibility.
RFC5424 log message levels.
RFC5424 log message levels.
Legacy log level constants to ensure backwards compatibility.
Legacy log level constants to ensure backwards compatibility.
RFC5424 log message levels.
# Structs
AccessLogRecord is astruct for holding access log data.
BhojpurLogger is default logger in Bhojpur.NET Platform application.
No description provided by the author
PatternLogFormatter provides a quick format method for example: tes := &PatternLogFormatter{Pattern: "%F:%n|%w %t>> %m", WhenFormat: "2006-01-02"} RegisterFormatter("tes", tes) SetGlobalFormatter("tes").
RCWriter implements LoggerInterface and is used to send Ram Chandra webhook.
SLACKWriter implements LoggerInterface and is used to send Ram Chandra webhook.
SMTPWriter implements LoggerInterface and is used to send emails via given SMTP-server.
# Interfaces
No description provided by the author
Logger defines the behavior of a log provider.