Documentation
¶
Index ¶
- Constants
- Variables
- func GetCallerFileNameWithLine(skipCallNumber, adjustLineNumber int) (fileNameAndLine string, funcName string)
- func GetCallerInfo(skipCallNumber int) (fileName string, funcName string, line int)
- func OpenLogBareOutput(output LogOutput, fmt logcommon.LogFormat, param string) (logcommon.BareOutput, error)
- type LogOutput
Constants ¶
View Source
const ( MessageFieldName = "message" TimestampFieldName = "time" LevelFieldName = "level" CallerFieldName = "caller" FuncFieldName = "func" WriteDurationFieldName = "writeDuration" StackTraceFieldName = "errorStack" ErrorMsgFieldName = "errorMsg" LogFatalExitCode = 1 )
Variables ¶
View Source
var JSONConsoleWrapper func(io.Writer) io.Writer
Functions ¶
func GetCallerInfo ¶
func OpenLogBareOutput ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.