Documentation
¶
Index ¶
- Variables
- func Debug(msg string, args ...interface{})
- func Error(msg string, args ...interface{})
- func ErrorLocal(msg string, args ...interface{})
- func Fatal(msg string, args ...interface{})
- func Info(msg string, args ...interface{})
- func InfoLocal(msg string, args ...interface{})
- func Init()
- func SetReporter(r *LogReporter)
- func SetSensitiveValues(values ...string)
- func Warn(msg string, args ...interface{})
- func WarnLocal(msg string, args ...interface{})
- type LogLevel
- type LogReporter
Constants ¶
This section is empty.
Variables ¶
View Source
var (
Logger *log.Logger
)
Functions ¶
func ErrorLocal ¶ added in v0.7.0
func ErrorLocal(msg string, args ...interface{})
ErrorLocal 仅写入 deploy 本机日志,不向服务端上报可能包含私密诊断的信息。
func InfoLocal ¶ added in v0.7.0
func InfoLocal(msg string, args ...interface{})
InfoLocal 仅写入 deploy 本机信息日志,不向服务端上报私密运行参数。
func SetSensitiveValues ¶ added in v0.7.0
func SetSensitiveValues(values ...string)
SetSensitiveValues 设置在线日志必须额外清除的实际配置值,防止第三方 SDK 无字段名回显凭据。
Types ¶
type LogReporter ¶ added in v0.5.0
LogReporter 日志上报器(用于上报到服务端)
Click to show internal directories.
Click to hide internal directories.