ironsmile

package
v0.1.15 Latest Latest
Warning

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

Go to latest
Published: May 27, 2016 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(cfg *config.Logger) (*logger.Logger, error)

New returns configured ironsmile™ logger that is ready to use. Configuration:

error	a path to a file to log calls to Errorf?
log	a path to a file to log calls to Logf?
debug	a path to a file to log calls to Debugf?

If debug is set but log not, debug's file will be used for log. If log is set(either through the configuration or copied from debug), but error is not, error will be set to log's file. The files are appended to if existing, not truncated.

Types

This section is empty.

Jump to

Keyboard shortcuts

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