Documentation ¶
Index ¶
- func StartStackdriver()
- type Fields
- type Level
- type Logger
- type Logrus
- type LogrusOptions
- type Severity
- type Stackdriver
- func (s *Stackdriver) Debug(args ...interface{})
- func (s *Stackdriver) Debugf(format string, args ...interface{})
- func (s *Stackdriver) Error(args ...interface{})
- func (s *Stackdriver) Errorf(format string, args ...interface{})
- func (s *Stackdriver) Fields() Fields
- func (s *Stackdriver) Info(args ...interface{})
- func (s *Stackdriver) Infof(format string, args ...interface{})
- func (s *Stackdriver) Panic(args ...interface{})
- func (s *Stackdriver) Panicf(format string, args ...interface{})
- func (s *Stackdriver) Warning(args ...interface{})
- func (s *Stackdriver) Warningf(format string, args ...interface{})
- func (s *Stackdriver) WithField(key string, value interface{}) Logger
- type StackdriverOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func StartStackdriver ¶
func StartStackdriver()
Types ¶
type Logger ¶
type Logger interface { Info(args ...interface{}) Infof(format string, args ...interface{}) Debug(args ...interface{}) Debugf(format string, args ...interface{}) Warning(args ...interface{}) Warningf(format string, args ...interface{}) Error(args ...interface{}) Errorf(format string, args ...interface{}) Panic(args ...interface{}) Panicf(format string, args ...interface{}) WithField(key string, value interface{}) Logger Fields() Fields }
type LogrusOptions ¶
type LogrusOptions struct { }
type Stackdriver ¶
type Stackdriver struct {
// contains filtered or unexported fields
}
func NewStackdriver ¶
func NewStackdriver(opts *StackdriverOptions) *Stackdriver
func (*Stackdriver) Debug ¶
func (s *Stackdriver) Debug(args ...interface{})
func (*Stackdriver) Debugf ¶
func (s *Stackdriver) Debugf(format string, args ...interface{})
func (*Stackdriver) Error ¶
func (s *Stackdriver) Error(args ...interface{})
func (*Stackdriver) Errorf ¶
func (s *Stackdriver) Errorf(format string, args ...interface{})
func (*Stackdriver) Fields ¶
func (s *Stackdriver) Fields() Fields
func (*Stackdriver) Info ¶
func (s *Stackdriver) Info(args ...interface{})
func (*Stackdriver) Infof ¶
func (s *Stackdriver) Infof(format string, args ...interface{})
func (*Stackdriver) Panic ¶
func (s *Stackdriver) Panic(args ...interface{})
func (*Stackdriver) Panicf ¶
func (s *Stackdriver) Panicf(format string, args ...interface{})
func (*Stackdriver) Warning ¶
func (s *Stackdriver) Warning(args ...interface{})
func (*Stackdriver) Warningf ¶
func (s *Stackdriver) Warningf(format string, args ...interface{})
func (*Stackdriver) WithField ¶
func (s *Stackdriver) WithField(key string, value interface{}) Logger
type StackdriverOptions ¶
Click to show internal directories.
Click to hide internal directories.