Documentation ¶
Overview ¶
Package logging provides logging facilities for Yorkie Server.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetLogLevel ¶
SetLogLevel sets the level of global logger with ["debug", "info", "warn", "error", "panic", "fatal"]. SetLoglevel must be sets before calling DefaultLogger() or New().
Types ¶
type Logger ¶
type Logger = *zap.SugaredLogger
Logger is a wrapper of zap.Logger.
func DefaultLogger ¶
func DefaultLogger() Logger
DefaultLogger returns the default logger used by Yorkie.
Click to show internal directories.
Click to hide internal directories.