Documentation ¶
Index ¶
- Variables
- func New(rawConfig *common.Config) (core.Core, error)
- type Core
- func (c *Core) DPanic(args ...interface{})
- func (c *Core) DPanicf(format string, args ...interface{})
- func (c *Core) DPanicw(msg string, keysAndValues ...interface{})
- func (c *Core) Debug(args ...interface{})
- func (c *Core) Debugf(format string, args ...interface{})
- func (c *Core) Debugw(msg string, keysAndValues ...interface{})
- func (c *Core) Error(args ...interface{})
- func (c *Core) Errorf(format string, args ...interface{})
- func (c *Core) Errorw(msg string, keysAndValues ...interface{})
- func (c *Core) Fatal(args ...interface{})
- func (c *Core) Fatalf(format string, args ...interface{})
- func (c *Core) Fatalw(msg string, keysAndValues ...interface{})
- func (c *Core) GetLogger(name ...string) core.Logger
- func (c *Core) Global() core.Logger
- func (c *Core) Info(args ...interface{})
- func (c *Core) Infof(format string, args ...interface{})
- func (c *Core) Infow(msg string, keysAndValues ...interface{})
- func (c *Core) Panic(args ...interface{})
- func (c *Core) Panicf(format string, args ...interface{})
- func (c *Core) Panicw(msg string, keysAndValues ...interface{})
- func (c *Core) RedirectStdLog()
- func (c *Core) Sync() error
- func (c *Core) Update(rawConfig *common.Config) error
- func (c *Core) Warn(args ...interface{})
- func (c *Core) Warnf(format string, args ...interface{})
- func (c *Core) Warnw(msg string, keysAndValues ...interface{})
Constants ¶
This section is empty.
Variables ¶
View Source
var StackTraceLevelEnabler = zap.NewAtomicLevelAt(zapcore.ErrorLevel)
Functions ¶
Types ¶
type Core ¶
type Core struct {
// contains filtered or unexported fields
}
func (*Core) RedirectStdLog ¶ added in v0.2.3
func (c *Core) RedirectStdLog()
Click to show internal directories.
Click to hide internal directories.