package
2.0.0-beta1+incompatible
Repository: https://github.com/buonotti/apisense.git
Documentation: pkg.go.dev

# Functions

ApiLogger returns a logger with the prefix "Api".
CloseLogFile closes the log file if one is in use.
DaemonLogger returns a logger with the prefix "Daemon".
DefaultLogger returns a logger with no prefix.
NewFiber returns a new middleware for fiber used to log requests.
NewWish returns a custom logging middleware that uses log.SSHLogger instead of the wish default logger.
Setup reads the config and configures log level and log output of all loggers.
SshLogger returns a logger with the prefix "Ssh".
TuiLogger returns a logger with the prefix "Tui".