loggers

package module
v0.0.0-...-5807d07 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2014 License: MIT Imports: 5 Imported by: 1

README

Loggers

GoDoc

Loggers provides error and access log creation routines.

Install

go get github.com/larzconwell/loggers

License

MIT licensed, see here

Documentation

Overview

Package loggers implements routines to log errors and access for a server.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Access

func Access(dir string) (*os.File, error)

Access creates or opens a log file in dir. A new log file is only created if there's no log file less than a week old.

func Error

func Error(file string) (*log.Logger, *os.File, error)

Error creates an error logger to the given file.

Types

This section is empty.

Jump to

Keyboard shortcuts

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