Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LogType ¶
type LogType int
LogType is the entry type of logging
const ( AppRoot LogType = 0 APIEnter LogType = 1 << iota APIRequest MethodEnter MethodParameter MethodLogic NetworkCall NetworkRequest NetworkResponse NetworkFinish MethodReturn MethodExit APIResponse APIExit BasicTracing LogType = MethodLogic GeneralTracing LogType = BasicTracing | APIEnter | APIExit VerboseTracing LogType = GeneralTracing | NetworkCall | NetworkFinish FullTracing LogType = VerboseTracing | MethodEnter | MethodExit BasicDebugging LogType = MethodLogic GeneralDebugging LogType = BasicDebugging | APIRequest | APIResponse VerboseDebugging LogType = GeneralDebugging | NetworkRequest | NetworkResponse FullDebugging LogType = VerboseDebugging | MethodParameter | MethodReturn BasicLogging LogType = BasicTracing | BasicDebugging GeneralLogging LogType = BasicLogging | GeneralTracing | GeneralDebugging VerboseLogging LogType = GeneralLogging | VerboseTracing | VerboseDebugging FullLogging LogType = VerboseLogging | FullTracing | FullDebugging )
These are the enum definitions of log types and presets
func FromString ¶
FromString converts a string representation of LogType flag to its strongly typed instance
Click to show internal directories.
Click to hide internal directories.