Documentation ¶
Index ¶
- Constants
- type ConsoleWriter
- type LogFormatter
- type ZeroLogger
- func (logger *ZeroLogger) CallerInfos() string
- func (logger *ZeroLogger) CallerInfosMaxLine(maxLine int, skip int) string
- func (logger *ZeroLogger) Debug(message string)
- func (logger *ZeroLogger) Error(message string)
- func (logger *ZeroLogger) Fatal(message string)
- func (logger *ZeroLogger) Info(message string)
- func (logger *ZeroLogger) Panic(message string)
- func (logger *ZeroLogger) Warn(message string)
Constants ¶
View Source
const ( CONSOLE_ENABLE = "enable" CONSOLE_DISABLE = "disable" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConsoleWriter ¶
type ConsoleWriter struct{}
type LogFormatter ¶
type LogFormatter struct{}
type ZeroLogger ¶
type ZeroLogger struct { }
func InitLogger ¶
func InitLogger() *ZeroLogger
func (*ZeroLogger) CallerInfos ¶
func (logger *ZeroLogger) CallerInfos() string
func (*ZeroLogger) CallerInfosMaxLine ¶
func (logger *ZeroLogger) CallerInfosMaxLine(maxLine int, skip int) string
func (*ZeroLogger) Debug ¶
func (logger *ZeroLogger) Debug(message string)
func (*ZeroLogger) Error ¶
func (logger *ZeroLogger) Error(message string)
func (*ZeroLogger) Fatal ¶
func (logger *ZeroLogger) Fatal(message string)
func (*ZeroLogger) Info ¶
func (logger *ZeroLogger) Info(message string)
func (*ZeroLogger) Panic ¶
func (logger *ZeroLogger) Panic(message string)
func (*ZeroLogger) Warn ¶
func (logger *ZeroLogger) Warn(message string)
Click to show internal directories.
Click to hide internal directories.