ozzolog

package
v0.0.0-...-87a979f Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2016 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Close

func Close()

func GetLogger

func GetLogger(category string, formatter ...log.Formatter) *log.Logger

func Open

func Open(conf *Config)

非多线程安全

Types

type Config

type Config struct {
	LogConsoleLevel int

	LogFileName        string
	LogFileBackupCount int
	LogFileLevel       int
	LogEmailHost       string
	LogEmailUsername   string
	LogEmailPassword   string
	LogEmailSender     string
	LogEmailSubject    string
	LogEmailRecipients []string
	LogEmailLevel      int
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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