Versions in this module Expand all Collapse all v1 v1.0.2 Mar 26, 2021 v1.0.1 Mar 25, 2021 v1.0.0 Mar 25, 2021 Changes in this version + const DEBUG + const Debug + const ERROR + const Error + const FATAL + const Fatal + const GB + const INFO + const Info + const KB + const MB + const PANIC + const Panic + const Trace + const WARN + const Warn + type Mlog struct + func New(op *Option) *Mlog + func (m *Mlog) Debug(ctx context.Context, msg string) + func (m *Mlog) Debugf(ctx context.Context, msg string, args ...interface{}) + func (m *Mlog) Error(ctx context.Context, msg string) + func (m *Mlog) Errorf(ctx context.Context, msg string, args ...interface{}) + func (m *Mlog) Exit() + func (m *Mlog) Fatal(ctx context.Context, msg string) + func (m *Mlog) Fatalf(ctx context.Context, msg string, args ...interface{}) + func (m *Mlog) Info(ctx context.Context, msg string) + func (m *Mlog) Infof(ctx context.Context, msg string, args ...interface{}) + func (m *Mlog) Panic(ctx context.Context, msg string) + func (m *Mlog) Panicf(ctx context.Context, msg string, args ...interface{}) + func (m *Mlog) Warn(ctx context.Context, msg string) + func (m *Mlog) Warnf(ctx context.Context, msg string, args ...interface{}) + type Option struct + Lvl int + Release bool + TraceKey string + Writer io.StringWriter