func newLogger(delegate lion.Logger) *logger { return &logger{delegate, delegate.Level()} }
func setGlobalLogger(logger lion.Logger) { globalLock.Lock() defer globalLock.Unlock() globalLogger = NewLogger(logger) globalLevel = logger.Level() }