logger

package
v1.8.0-dev Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2021 License: Apache-2.0 Imports: 12 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DisableAuditLog

func DisableAuditLog()

DisableAuditLog disables audit log.

func EnableAuditLog

func EnableAuditLog(dir string)

EnableAuditLog enables audit log.

func InitGlobalLogger

func InitGlobalLogger()

InitGlobalLogger initializes zap global logger.

func OutputAuditLogIfEnabled

func OutputAuditLogIfEnabled() error

OutputAuditLogIfEnabled outputs audit log if enabled.

func OutputDebugLog

func OutputDebugLog(prefix string)

OutputDebugLog outputs debug log in the current working directory.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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