package
0.0.0-20200518095232-1fa3e640cc5f
Repository: https://github.com/sereiner/library.git
Documentation: pkg.go.dev
# README
log
# Functions
AddWriteThread 添加count个写线程用于并发写日志.
Close 关闭所有日志组件.
CreateSession create logger session.
No description provided by the author
GetSession 根据日志名称及session获取日志组件.
New 根据一个或多个日志名称构建日志对象,该日志对象具有新的session id系统不会缓存该日志组件.
NewAppender 构建appender.
NewFileAppender 构建基于文件流的日志输出对象.
No description provided by the author
NewStudoutAppender 构建基于文件流的日志输出对象.
ReadConfig 读取配置文件.
No description provided by the author
ResetConfig 重置日志配置.
No description provided by the author
# Constants
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Structs
Appender 输出器.
FileAppender 文件输出器.
No description provided by the author
Logger 日志对象.
StdoutAppender 标准输出器.
# Interfaces
No description provided by the author
ILogger 日志接口.
No description provided by the author
ILogging 基础日志记录接口.
No description provided by the author
# Type aliases
LogWriter 提供Write函数的日志方法.