logger

package
v1.15.1 Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2024 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 OutputAuditLogToFileIfEnabled added in v1.10.0

func OutputAuditLogToFileIfEnabled(dir, fileSuffix string) error

OutputAuditLogToFileIfEnabled outputs audit log to specified fileSuffix 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