xlog

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2018 License: LGPL-3.0, Apache-2.0 Imports: 5 Imported by: 0

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

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DumpStack

func DumpStack()

Types

This section is empty.

Jump to

Keyboard shortcuts

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