Documentation ¶
Index ¶
- type LogClient
- type Logger
- func (lc *Logger) Close() error
- func (lg *Logger) Debug(msg interface{})
- func (lg *Logger) DebugJSON(i interface{})
- func (lg *Logger) Debugf(s string, args ...interface{})
- func (lg *Logger) Error(err error) bool
- func (lg *Logger) ErrorJSON(i interface{})
- func (lg *Logger) Fatal(msg interface{})
- func (lg *Logger) Log(msg interface{}, severity logging.Severity)
- func (lg *Logger) NewError(msg string) error
- func (lg *Logger) NewErrorf(s string, args ...interface{}) error
- func (lg *Logger) Panic(msg interface{})
- func (lg *Logger) Reflect(e interface{})
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Logger ¶
type Logger struct {
// contains filtered or unexported fields
}
func (*Logger) DebugJSON ¶
func (lg *Logger) DebugJSON(i interface{})
DebugJSON creates a debug log in json format
func (*Logger) ErrorJSON ¶
func (lg *Logger) ErrorJSON(i interface{})
ErrorJSON creates an error log in json format
Click to show internal directories.
Click to hide internal directories.