Documentation ¶
Index ¶
- func AppInstance() string
- func AppMode() string
- func AppRegion() string
- func AppVersion() string
- func AppZone() string
- func BuildHost() string
- func BuildStatus() string
- func BuildTime() string
- func BuildUser() string
- func EgoGovernorEnableConfig() bool
- func EgoLogExtraKeys() []string
- func EgoLogPath() string
- func EgoLogTimeType() string
- func EgoLogWriter() string
- func EgoTraceIDName() string
- func EgoVersion() string
- func EnableLoggerAddApp() bool
- func GoVersion() string
- func HostName() string
- func IsDevelopmentMode() bool
- func Name() string
- func PrintVersion()
- func SetEgoDebug(flag string)
- func StartTime() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EgoLogExtraKeys ¶
func EgoLogExtraKeys() []string
EgoLogExtraKeys returns custom extra log keys.
func EgoLogPath ¶
func EgoLogPath() string
EgoLogPath returns application log file directory path when user choose to write log fo file.
func EgoTraceIDName ¶
func EgoTraceIDName() string
EgoTraceIDName returns the key in Metadata for storing traceID
func EnableLoggerAddApp ¶
func EnableLoggerAddApp() bool
EnableLoggerAddApp returns flag if logger has append app Field to log entry.
func IsDevelopmentMode ¶
func IsDevelopmentMode() bool
IsDevelopmentMode returns flag if application is in debug mode.
func SetEgoDebug ¶
func SetEgoDebug(flag string)
SetEgoDebug returns the flag if debug mode has been triggered
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.