Versions in this module Expand all Collapse all v1 v1.0.1 Apr 2, 2025 v1.0.0 Sep 12, 2022 Changes in this version + type LogLevel int + const DEBUG + const ERROR + const INFO + const WARN + func StringToLogLevel(textLevel string) (LogLevel, error) + func (ll LogLevel) String() string + type Logging struct + func Get() *Logging + func (l *Logging) EndTransaction(transactionID string) []byte + func (l *Logging) LoadLogger(logPath string, logLevel LogLevel) error + func (l *Logging) LoadLoggerWriter(logBuffer io.Writer, logLevel LogLevel) error + func (l *Logging) Printf(level LogLevel, format string, v ...interface{}) + func (l *Logging) Println(level LogLevel, msg string) + func (l *Logging) StartTransaction(transactionID string) + func (l *Logging) TPrintf(level LogLevel, transactionID, format string, v ...interface{}) + func (l *Logging) TPrintln(level LogLevel, transactionID, msg string)