Documentation ¶
Index ¶
- Constants
- Variables
- func Caller(l zapcore.Level) string
- func Debug(args ...interface{})
- func DebugA(args ...interface{})
- func DebugAf(template string, args ...interface{})
- func Debugf(template string, args ...interface{})
- func Error(args ...interface{})
- func ErrorA(args ...interface{})
- func ErrorAf(template string, args ...interface{})
- func Errorf(template string, args ...interface{})
- func Fatal(args ...interface{})
- func FatalA(args ...interface{})
- func FatalAf(template string, args ...interface{})
- func Fatalf(template string, args ...interface{})
- func Flush()
- func GetProcName() string
- func Info(args ...interface{})
- func InfoA(args ...interface{})
- func InfoAf(template string, args ...interface{})
- func Infof(template string, args ...interface{})
- func Init(logPath, fileName string) error
- func PushLog2Chat(url, title, text string)
- func ResetLogLevel(l zapcore.Level)
- func SaveToRedis(log ...string)
- func ToString(value interface{}) string
- func Trace(args ...interface{})
- func Tracef(template string, args ...interface{})
- func Warn(args ...interface{})
- func WarnA(args ...interface{})
- func WarnAf(template string, args ...interface{})
- func WarnDelayAf(delay int64, template string, args ...interface{})
- func WarnDelayf(delay int64, template string, args ...interface{})
- func Warnf(template string, args ...interface{})
Constants ¶
View Source
const ( LOG_SIZE_CUT_TYPE = 0 LOG_TIME_CUT_TYPE = 1 )
Variables ¶
View Source
var RedisCli *redis.Client
Functions ¶
func GetProcName ¶
func GetProcName() string
func PushLog2Chat ¶
func PushLog2Chat(url, title, text string)
func ResetLogLevel ¶
func SaveToRedis ¶
func SaveToRedis(log ...string)
func WarnDelayAf ¶
func WarnDelayf ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.