Documentation ¶
Overview ¶
global config
global func
global var
Index ¶
- func Debug(v ...any)
- func DebugF(format string, v ...any)
- func DebugW(message string, kv ...any)
- func Error(v ...any)
- func ErrorF(format string, v ...any)
- func ErrorW(message string, kv ...any)
- func Fatal(v ...any)
- func FatalF(format string, v ...any)
- func FatalW(message string, kv ...any)
- func Get() *log.Logger
- func Info(v ...any)
- func InfoF(format string, v ...any)
- func InfoW(message string, kv ...any)
- func Init()
- func Panic(v ...any)
- func PanicF(format string, v ...any)
- func PanicW(message string, kv ...any)
- func Stream() jsonmessage.Stream
- func Warn(v ...any)
- func WarnF(format string, v ...any)
- func WarnW(message string, kv ...any)
- type ConfigOption
- func (o *ConfigOption) Load()
- func (o *ConfigOption) WithCallerLongFile() *ConfigOption
- func (o *ConfigOption) WithCallerShortFile() *ConfigOption
- func (o *ConfigOption) WithLogPath(logPath string) *ConfigOption
- func (o *ConfigOption) WithTimeMicroSeconds() *ConfigOption
- func (o *ConfigOption) WithTimeUTC() *ConfigOption
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Stream ¶ added in v1.1.3
func Stream() jsonmessage.Stream
Types ¶
type ConfigOption ¶ added in v1.1.5
func New ¶ added in v1.1.5
func New() *ConfigOption
func (*ConfigOption) Load ¶ added in v1.1.5
func (o *ConfigOption) Load()
func (*ConfigOption) WithCallerLongFile ¶ added in v1.1.5
func (o *ConfigOption) WithCallerLongFile() *ConfigOption
func (*ConfigOption) WithCallerShortFile ¶ added in v1.1.5
func (o *ConfigOption) WithCallerShortFile() *ConfigOption
func (*ConfigOption) WithLogPath ¶ added in v1.1.5
func (o *ConfigOption) WithLogPath(logPath string) *ConfigOption
func (*ConfigOption) WithTimeMicroSeconds ¶ added in v1.1.5
func (o *ConfigOption) WithTimeMicroSeconds() *ConfigOption
func (*ConfigOption) WithTimeUTC ¶ added in v1.1.5
func (o *ConfigOption) WithTimeUTC() *ConfigOption
Click to show internal directories.
Click to hide internal directories.