logger

package
v0.0.0-...-9b07614 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2023 License: MulanPSL-2.0 Imports: 3 Imported by: 0

Documentation

Overview

logger package uses zap logger to record log information for kunpengsecl.

Index

Constants

This section is empty.

Variables

View Source
var (
	// L used to output log information
	L *zap.Logger
)

Functions

func NewDebugLogger

func NewDebugLogger(path string) *zap.Logger

NewDebugLogger creates new logger for debug level.

func NewInfoLogger

func NewInfoLogger(path string) *zap.Logger

NewInfoLogger creates new logger for information level.

Types

This section is empty.

Jump to

Keyboard shortcuts

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