Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EntryL2ZapLogger ¶
EntryL2ZapLogger - stackdriver kubernetes compatible logger
func NewEntry2ZapLogger ¶
func NewEntry2ZapLogger(serviceName string) (*EntryL2ZapLogger, error)
NewEntry2ZapLogger - init
func (*EntryL2ZapLogger) Error ¶
func (z *EntryL2ZapLogger) Error(keyvals ...interface{})
Error outputs errors to fluentd with stacktraces
func (*EntryL2ZapLogger) Info ¶
func (z *EntryL2ZapLogger) Info(keyvals ...interface{})
Info - outputs info messages to fluentd enagled logging
func (*EntryL2ZapLogger) Warn ¶
func (z *EntryL2ZapLogger) Warn(keyvals ...interface{})
Warn - outputs warnings to fluentd fluentd enagled logging
type Logger ¶
type Logger interface { Info(keyvals ...interface{}) Error(keyvals ...interface{}) Warn(keyvals ...interface{}) }
Logger for tagged logging (uniified logging accross services and packages)
type ZapLogger ¶
ZapLogger - logger
func NewZapLogger ¶
NewZapLogger initiates zap logging with JSON encoding output for fluentd logging (stdout, stderr)
func (*ZapLogger) Error ¶
func (z *ZapLogger) Error(keyvals ...interface{})
Error outputs errors to fluentd with stacktraces
Click to show internal directories.
Click to hide internal directories.