Documentation ¶
Index ¶
- type Fields
- type LogResource
- type LoggerTools
- func (that *LoggerTools) Debug(category string, fields Fields)
- func (that *LoggerTools) Error(category string, fields Fields)
- func (that *LoggerTools) GetMiddleware() echo.MiddlewareFunc
- func (that *LoggerTools) Info(category string, fields Fields)
- func (that *LoggerTools) InfoLog(category string, fields Fields)
- func (that *LoggerTools) InfoSyslog(m string) error
- func (that *LoggerTools) Warn(category string, fields Fields)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LogResource ¶
LogResource : data to log
type LoggerTools ¶
type LoggerTools struct {
// contains filtered or unexported fields
}
LoggerTools : instance logger
var Default *LoggerTools
Default logger
func (*LoggerTools) Debug ¶
func (that *LoggerTools) Debug(category string, fields Fields)
Debug : log error data
func (*LoggerTools) Error ¶
func (that *LoggerTools) Error(category string, fields Fields)
Error : log error data
func (*LoggerTools) GetMiddleware ¶
func (that *LoggerTools) GetMiddleware() echo.MiddlewareFunc
GetMiddleware : singleton instance
func (*LoggerTools) Info ¶
func (that *LoggerTools) Info(category string, fields Fields)
Info : log info data
func (*LoggerTools) InfoLog ¶
func (that *LoggerTools) InfoLog(category string, fields Fields)
Info : log info data
func (*LoggerTools) Warn ¶
func (that *LoggerTools) Warn(category string, fields Fields)
Warn : log error data
Click to show internal directories.
Click to hide internal directories.