logger

package
v0.0.0-...-83ac56d Latest Latest
Warning

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

Go to latest
Published: Jan 24, 2014 License: BSD-3-Clause Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Tail

func Tail(out io.Writer, log string, db *mgo.Database) chan bool

Types

type DBLogger

type DBLogger struct {
	// contains filtered or unexported fields
}

func New

func New(c string, db *mgo.Database) *DBLogger

func (*DBLogger) Write

func (l *DBLogger) Write(data []byte) (int, error)

type Entry

type Entry struct {
	Id      bson.ObjectId `bson:"_id"`
	Message string        `bson:"message"`
}

Jump to

Keyboard shortcuts

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