Documentation ¶
Index ¶
- func Debugf(format string, args ...any)
- func EnableStackLog(v bool)
- func Errorf(format string, args ...any)
- func Fatalf(format string, args ...any)
- func Infof(format string, args ...any)
- func SetLevel(level Level)
- func SetOutput(out io.Writer)
- func Subscribe() observable.Subscription
- func UnSubscribe(sub observable.Subscription)
- func Warnf(format string, args ...any)
- type Event
- type Level
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EnableStackLog ¶
func EnableStackLog(v bool)
func Subscribe ¶
func Subscribe() observable.Subscription
func UnSubscribe ¶
func UnSubscribe(sub observable.Subscription)
Types ¶
type Level ¶
type Level uint32
func ParseLevel ¶
func (Level) MarshalJSON ¶
MarshalJSON serialize Level with json
func (*Level) UnmarshalJSON ¶
UnmarshalJSON deserialize Level with json
Click to show internal directories.
Click to hide internal directories.