package
Version:
v2.0.2
Opens a new window with list of versions in this module.
Published: Nov 4, 2024
License: MIT
Opens a new window with license information.
Imports: 10
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
ApiLogger returns a logger with the prefix "Api"
func CloseLogFile() error
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
PkgLogger returns a logger with the prefix "Pkg"
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"
Source Files
¶
Click to show internal directories.
Click to hide internal directories.