Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/siddontang/go-log
/ types & classes
Types & classes
12 in github.com/siddontang/go-log
⨍
Functions
102
◇
Types & classes
12
Interface
Advanced
Advanced is an interface with commonly used log level methods.
loggers/loggers.go:41
Interface
Contextual
Contextual is an interface that allows context addition to a log statement before calling the final print (message/level) method.
loggers/loggers.go:63
Struct
FileHandler
FileHandler writes log to a file.
log/filehandler.go:11
Interface
Handler
Handler writes logs to somewhere
log/handler.go:8
Struct
JsonLog
log/logger.go:200
TypeAlias
Level
Level type
log/logger.go:29
Struct
Logger
Logger is the logger to record log
log/logger.go:62
Struct
NullHandler
NullHandler does nothing, it discards anything.
log/handler.go:38
Struct
RotatingFileHandler
RotatingFileHandler writes log a file, if file size exceeds maxBytes, it will backup current file and open a new one. max backup file number is set b
log/filehandler.go:46
Interface
Standard
Standard is the interface used by Go's standard library's log package.
loggers/loggers.go:26
Struct
StreamHandler
StreamHandler writes logs to a specified io Writer, maybe stdout, stderr, etc...
log/handler.go:14
Struct
TimeRotatingFileHandler
TimeRotatingFileHandler writes log to a file, it will backup current and open a new one, with a period time you sepecified. refer: http://docs.python
log/filehandler.go:146