package
Version:
v0.1.0
Opens a new window with list of versions in this module.
Published: Dec 10, 2018
License: LGPL-3.0, Apache-2.0
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
to use, write in main:
defer xlog.Flush()
xlog.Init(tmConfig.GetString("xlog_dir"), tmConfig.GetInt("ann_logger_level"))
xlog.Info("start...")
default logfiles are:
xlog.Info -> annlog.log
xlog.Dbg -> annlog.dbg
xlog.Err -> annlog.err
err dump dup to *.log
view running log:
tail -f ./<xlog_dir>/annlog.log
Documentation
¶
Source Files
¶
Click to show internal directories.
Click to hide internal directories.