log

package
v0.0.0-...-3c905e5 Latest Latest
Warning

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

Go to latest
Published: Dec 24, 2023 License: BSD-3-Clause Imports: 4 Imported by: 11

Documentation

Overview

Package log 日志相关接口以及函数

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

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

New new

func NewMain

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

NewMain new

func SetFileLog

func SetFileLog(log *types.Log)

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

func SetLogLevel

func SetLogLevel(logLevel string)

SetLogLevel 设置控制台日志输出级别

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