package
0.0.0-20240917163307-7ebcba42aa8c
Repository: https://github.com/realjonathanyip/framework.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

No description provided by the author
No description provided by the author
Debug logs a message at DebugLevel.
No description provided by the author
DPanic logs a message at DPanicLevel.
No description provided by the author
ElkTmeplateName用来设置输出到elk中的唯一名字。 默认不输出。.
Error logs a message at ErrorLevel.
No description provided by the author
Fatal logs a message at FatalLevel.
No description provided by the author
No description provided by the author
No description provided by the author
HostName设置日志机器的ip地址,方便定位。 默认不输出。.
Info logs a message at InfoLevel.
No description provided by the author
根据options的设置,再次初始化日志系统。.
ListenAddr设置logserver的http端口,用来管理日志级别。 默认监听127.0.0.1下的随机端口.
level : debug info warn error panic fatal.
LogApiPath设置logserver的api名字。 默认为 /log。.
append a session log.
level : debug info warn error panic fatal.
need logfile when asyncfile.
No description provided by the author
flush a session log.
No description provided by the author
start a session log.
Panic logs a message at PanicLevel.
No description provided by the author
json console.
No description provided by the author
stdout syslog asyncfile.
No description provided by the author
TestEnv设置是否测试环境。 默认为true,测试环境。.
Warn logs a message at WarnLevel.
No description provided by the author
WithPid设置日志输出中是否加入pid的项。 默认为true。.

# 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

# Interfaces

No description provided by the author