Versions in this module Expand all Collapse all v1 v1.0.1 Oct 18, 2021 Changes in this version + const ASYNC_LOGGER + const CYAN + const DEFAULT_LOGGER + const GCP_LOGGER + const GREEN + const MAGENTA + const RED + const RESET + const YELLOW + type AsyncLogger struct + func (obj *AsyncLogger) Debug(log LogInfo) + func (obj *AsyncLogger) Error(log LogInfo) + func (obj *AsyncLogger) Fatal(log LogInfo) + func (obj *AsyncLogger) Info(log LogInfo) + func (obj *AsyncLogger) Init(log LogProps) + func (obj *AsyncLogger) SetLogLevel(log LogEnabled) + func (obj *AsyncLogger) StopLogger() + func (obj *AsyncLogger) Warn(log LogInfo) + type DefaultLogger struct + func (obj *DefaultLogger) Fatal(log LogInfo) + func (obj *DefaultLogger) Init(props LogProps) + func (obj *DefaultLogger) SetLogLevel(log LogEnabled) + func (obj DefaultLogger) Debug(log LogInfo) + func (obj DefaultLogger) Error(log LogInfo) + func (obj DefaultLogger) Info(log LogInfo) + func (obj DefaultLogger) Warn(log LogInfo) + type GCPLogger struct + func (obj *GCPLogger) Init(props LogProps) + func (obj *GCPLogger) SetLogLevel(log LogEnabled) + func (obj GCPLogger) Debug(log LogInfo) + func (obj GCPLogger) Error(log LogInfo) + func (obj GCPLogger) Fatal(log LogInfo) + func (obj GCPLogger) Info(log LogInfo) + func (obj GCPLogger) Warn(log LogInfo) + type LogEnabled struct + Debug bool + Error bool + Info bool + Warning bool + type LogInfo struct + Extra map[string]interface{} + Key string + Value string + type LogProps struct + ConsoleEnabled bool + FileEnabled bool + FilePrefix string + FileSize string + LogEnabled LogEnabled + MaxFiles uint16 + MaxQueue uint16 + Name string + Path string + ProjectID string + type Logger interface + Debug func(log LogInfo) + Error func(log LogInfo) + Fatal func(log LogInfo) + Info func(log LogInfo) + Init func(log LogProps) + SetLogLevel func(log LogEnabled) + Warn func(log LogInfo) + func New(logger string, props LogProps) Logger