adapter

package
v0.0.0-...-5bc14d6 Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2016 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

Package adapter defines a common interface for adapters to implement the commonlog.Logger with a self-awareness

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LogAdapter

type LogAdapter interface {
	commonlog.Logger

	Adaptee() interface{}
}

LogAdapter is an interface defining a logger that is built from an underlying adapter that can be accessed directly

Directories

Path Synopsis
Package builtin defines an adapter using the built-in "log" package
Package builtin defines an adapter using the built-in "log" package
Package glog defines an adapter using the google "glog" package
Package glog defines an adapter using the google "glog" package
Package iowriter defines an adapter that uses the io.Writer interface
Package iowriter defines an adapter that uses the io.Writer interface
Package levelprefixed defines a delegate adapter that prefixes messages with the log's severity level
Package levelprefixed defines a delegate adapter that prefixes messages with the log's severity level
Package logging defines an adapter using the popular "go-logging" package
Package logging defines an adapter using the popular "go-logging" package

Jump to

Keyboard shortcuts

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