glog

package
v0.0.0-...-56446ac Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 18, 2014 License: BSD-3-Clause Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GLogger

type GLogger struct{}

Simple adapter to utilise Google's GLog package with goirc. Just import github.com/fluffle/goirc/logging and this package, then call logging.Logger(glog.GLogger{}). The unfortunate downside of this is that it adds an extra hop to the caller chain which means *all* the line numbers are bad.

func (GLogger) Debug

func (gl GLogger) Debug(f string, a ...interface{})

func (GLogger) Error

func (gl GLogger) Error(f string, a ...interface{})

func (GLogger) Info

func (gl GLogger) Info(f string, a ...interface{})

func (GLogger) Warn

func (gl GLogger) Warn(f string, a ...interface{})

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL