Documentation ¶
Index ¶
- func Debug(args ...interface{})
- func Debugw(msg string, args ...interface{})
- func Error(args ...interface{})
- func Errorw(msg string, args ...interface{})
- func Fatal(args ...interface{})
- func Fatalw(msg string, args ...interface{})
- func Info(args ...interface{})
- func Infow(msg string, args ...interface{})
- func Panic(args ...interface{})
- func Panicw(msg string, args ...interface{})
- func Start(ctx context.Context, c *Configuration)
- func Warn(args ...interface{})
- func Warnw(msg string, args ...interface{})
- type Configuration
- type Printer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Debugw ¶
func Debugw(msg string, args ...interface{})
Debugw logs structured logs at the lowest level
func Errorw ¶
func Errorw(msg string, args ...interface{})
Errorw logs structured logs at the level which requires attention
func Fatalw ¶
func Fatalw(msg string, args ...interface{})
Fatalw logs a structured log and stops the process
func Info ¶
func Info(args ...interface{})
Info logs messages which are helpful for tracking problems
func Infow ¶
func Infow(msg string, args ...interface{})
Infow logs structured logs which are helpful for tracking problems
func Panicw ¶
func Panicw(msg string, args ...interface{})
Panicw logs structured logs and stops the process
func Start ¶
func Start(ctx context.Context, c *Configuration)
Start is called very early by the startup routine to configure logging
Types ¶
Click to show internal directories.
Click to hide internal directories.