log

package
v0.0.0-...-9259d71 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2018 License: BSD-2-Clause Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(ctx ...interface{}) log15.Logger

func NewMain

func NewMain(ctx ...interface{}) log15.Logger

func SetFileLog

func SetFileLog(log *types.Log)

设置文件日志和控制台日志信息

func SetLogLevel

func SetLogLevel(logLevel string)

设置控制台日志输出级别

Types

This section is empty.

Directories

Path Synopsis
Package log15 provides an opinionated, simple toolkit for best-practice logging that is both human and machine readable.
Package log15 provides an opinionated, simple toolkit for best-practice logging that is both human and machine readable.

Jump to

Keyboard shortcuts

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