package
2.0.7+incompatible
Repository: https://github.com/pingcap/dm.git
Documentation: pkg.go.dev

# Functions

InitLogger initializes DM's and also the TiDB library's loggers.
L returns the current logger for DM.
Props returns the current logger's props.
SetLevel modifies the log level of the global logger.
ShortError contructs a field which only records the error message without the verbose text (i.e.
With creates a child logger from the global logger and adds structured context to it.
WrapStringerField returns a wrap stringer field.

# Structs

Config serializes log related config in toml/json.
Logger is a simple wrapper around *zap.Logger which provides some extra methods to simplify DM's log usage.