package
Version:
v0.0.0-...-5a29284
Opens a new window with list of versions in this module.
Published: Mar 19, 2020
License: MIT
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 1
Opens a new window with list of known importers.
Documentation
¶
func Error(format string, v ...interface{})
Error prints logs as this format: [ERROR]
Errorf prints logs as this format: [ERROR]
func Info(format string, v ...interface{})
Info prints logs as this format: [INFO]
IsLoggerGCE provides interface if current logger is GCE
func Listen(listener func(msg string))
Listen listen to ERROR and PANIC
func Panic(format string, v ...interface{})
Panic prints logs as this format: [PANIC]
func Warn(format string, v ...interface{})
Warn prints logs as this format: [WARN]
type Listener func(msg string)
Listener Listen to log when ERROR or PANIC
Source Files
¶
Click to show internal directories.
Click to hide internal directories.