log

package
v0.2.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 24, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Core

func Core() zapcore.Core

Core returns the Core logger, where Core is a minial, fast logger interface.

func Logger

func Logger() *zap.SugaredLogger

Logger returns the default logger used by Yorkie.

func SetLogLevel added in v0.2.2

func SetLogLevel(level string) error

SetLogLevel sets the level of global logger with ["debug", "info", "warn", "error", "panic", "fatal"]. Loglevel must be sets before calling DefaultLogger() or CoreLogger() function.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL