Documentation
¶
Index ¶
Constants ¶
View Source
const (
LogHandlerLogLevelEnvVarName string = "LOG_LEVEL"
)
Variables ¶
This section is empty.
Functions ¶
func ApiPanicHandler ¶
func ApiPanicHandler(subsequentHandler echo.HandlerFunc) echo.HandlerFunc
func CliPanicHandler ¶
func CliPanicHandler()
@attention CliPanicHandler MUST be used as a defer statement.
Types ¶
type LogHandler ¶
type LogHandler struct {
}
func (LogHandler) Init ¶
func (logHandler LogHandler) Init()
func (LogHandler) ReadLevel ¶
func (LogHandler) ReadLevel() string
func (LogHandler) SetLevel ¶
func (LogHandler) SetLevel(logLevel string)
Click to show internal directories.
Click to hide internal directories.