Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type JSONLogger ¶
type JSONLogger struct {
Filepath string
// contains filtered or unexported fields
}
JSONLogger outputs logs in JSON format.
func NewJSONLogger ¶
func NewJSONLogger() JSONLogger
NewJSONLogger creates a new instance of JSONLogger.
func (*JSONLogger) Info ¶
func (l *JSONLogger) Info(args ...interface{})
Info logs standard info messages.
func (*JSONLogger) Infof ¶
func (l *JSONLogger) Infof(format string, args ...interface{})
Infof logs formatted info messages.
Click to show internal directories.
Click to hide internal directories.