Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Log ¶
type Log struct { *log.Logger *errorreporting.Client }
Log is a wrapper on the stdlib log pkg.
func New ¶
func New(errorClient *errorreporting.Client) *Log
New returns an initialized Log with defaults setup.
func (*Log) FatalIfErr ¶
FatalIfErr checks if the error is nil and panics if not nil.
Click to show internal directories.
Click to hide internal directories.