Documentation ¶
Index ¶
- Constants
- type Logger
- func (l *Logger) Alert(message string, keyvals ...interface{}) error
- func (l *Logger) Critical(message string, keyvals ...interface{}) error
- func (l *Logger) Debug(message string, keyvals ...interface{}) error
- func (l *Logger) Emergency(message string, keyvals ...interface{}) error
- func (l *Logger) Error(message string, keyvals ...interface{}) error
- func (l *Logger) Info(message string, keyvals ...interface{}) error
- func (l *Logger) Log(keyvals ...interface{}) error
- func (l *Logger) Notice(message string, keyvals ...interface{}) error
- func (l *Logger) Warning(message string, keyvals ...interface{}) error
Constants ¶
View Source
const ( DEFAULT severity = iota DEBUG INFO NOTICE WARNING ERROR CRITICAL ALERT EMERGENCY )
GCP log-severity levels, see https://cloud.google.com/logging/docs/reference/v2/rest/v2/LogEntry#LogSeverity
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.