package
0.0.0-20220116124430-3492e0ae15bf
Repository: https://github.com/hozalex/knox.git
Documentation: pkg.go.dev

# Functions

Fatal is equivalent to Print() followed by a call to os.Exit(1).
Fatalf is equivalent to Printf() followed by a call to os.Exit(1).
Fatalln is equivalent to Println() followed by a call to os.Exit(1).
Flags returns the output flags for the standard logger.
New creates a new Logger.
Panic is equivalent to Print() followed by a call to panic().
Panicf is equivalent to Printf() followed by a call to panic().
Panicln is equivalent to Println() followed by a call to panic().
Prefix returns the output prefix for the standard logger.
Print calls Output to print to the standard logger.
Printf calls Output to print to the standard logger.
Println calls Output to print to the standard logger.
SetFlags sets the output flags for the standard logger.
SetOutput sets the output destination for the standard logger.
SetPrefix sets the output prefix for the standard logger.
SetService sets the unique name of the service of the code being logged.
SetVersion sets the git version of the code being logged.

# Constants

the date: 2009/01/23.
full file name and line number: /a/b/c/d.go:23.
microsecond resolution: 01:23:23.123123.
final file name element and line number: d.go:23.
initial values for the standard logger.
the time: 01:23:23.

# Structs

A Logger represents an active logging object that generates lines of output to an io.Writer.
LogMessage is a JSON log format that is logstash and kibana friendly.