Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Opts ¶
type Opts struct { Levels []log.Level Async bool // Error reporting timeout. This is ignored when Async is true. Timeout time.Duration // Google Cloud project ID Project string // The service name for error reports Service string // Set the logrus formatter to be compatible with Stackdriver Logging UseJoonixFormatter bool }
Opts are the options that must be given to Setup
func DefaultOpts ¶
func DefaultOpts() Opts
DefaultOpts returns the default options to be used when calling Setup
Click to show internal directories.
Click to hide internal directories.