Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitGlobalLogger ¶
func InitGlobalLogger()
InitGlobalLogger initializes zap global logger. Default level is Debug.
func OutputAuditLogIfEnabled ¶
func OutputAuditLogIfEnabled() error
OutputAuditLogIfEnabled outputs audit log if enabled.
func OutputAuditLogToFileIfEnabled ¶ added in v1.10.0
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.
Click to show internal directories.
Click to hide internal directories.