Documentation ¶
Index ¶
- type CLILogger
- func (l CLILogger) Criticalf(format string, args ...interface{})
- func (l CLILogger) Debugf(format string, args ...interface{})
- func (l CLILogger) Errorf(format string, args ...interface{})
- func (l CLILogger) Infof(format string, args ...interface{})
- func (l CLILogger) Warningf(format string, args ...interface{})
- type GAELogger
- func (l GAELogger) Criticalf(format string, args ...interface{})
- func (l GAELogger) Debugf(format string, args ...interface{})
- func (l GAELogger) Errorf(format string, args ...interface{})
- func (l GAELogger) Infof(format string, args ...interface{})
- func (l GAELogger) Warningf(format string, args ...interface{})
- type KLogger
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CLILogger ¶
type CLILogger struct { }
CLILogger is a simple logger based on the the official go package
func (CLILogger) Criticalf ¶
Criticalf is like Debugf, but at Critical level and panics after printing the error.
func (CLILogger) Debugf ¶
Debugf formats its arguments according to the format, analogous to fmt.Printf, and prints the text using log.Printf.
type GAELogger ¶
GAELogger is a simple log wrapper for the GAE log
func (GAELogger) Criticalf ¶
Criticalf is like Debugf, but at Critical level and panics after printing the error.
func (GAELogger) Debugf ¶
Debugf formats its arguments according to the format, analogous to fmt.Printf, and prints the text using log.Printf.
type KLogger ¶
type KLogger interface { Criticalf(format string, args ...interface{}) Debugf(format string, args ...interface{}) Errorf(format string, args ...interface{}) Infof(format string, args ...interface{}) Warningf(format string, args ...interface{}) }
KLogger is a minimalistic interface to wrap both the Google App Engine and default golang log packages
Click to show internal directories.
Click to hide internal directories.