Categorygithub.com/jsandas/gologger
modulepackage
0.0.0-20220724041954-4d8e63f0a712
Repository: https://github.com/jsandas/gologger.git
Documentation: pkg.go.dev

# README

unit codecov

gologger

Basic logging functions for logging. The main features provided are the time format (in UTC), caller information (file/line number), and log levels.

# Functions

Critical shortcut for log function.
Criticalf shortcut for log function.
Debug shortcut for log function.
Debugf shortcut for log function.
Error shortcut for log function.
Errorf shortcut for log function.
Info shortcut for log function.
Infof shortcut for log function.
Warn shortcut for log function.
Warnf shortcut for log function.

# Variables

CriticalExit makes Critical funcs exit when calling.
LogLevel sets the log level to log.
Out prints the data to os.Stdout/os.StdErr.

# Structs

BuffOut provides writers to handle output and err output.