Documentation ¶
Index ¶
Constants ¶
View Source
const EnvVarLogLevel = "DD_APPSEC_WAF_LOG_LEVEL"
Variables ¶
This section is empty.
Functions ¶
func CallbackFunctionPointer ¶
func CallbackFunctionPointer() uintptr
CallbackFunctionPointer returns a pointer to the log callback function which can be used with libddwaf.
Types ¶
type Level ¶
type Level int
Level replicates the definition of `DDWAF_LOG_LEVEL` from `ddwaf.h`.
func LevelNamed ¶
LevelNamed returns the log level corresponding to the given name, or LevelOff if the name corresponds to no known log level.
Click to show internal directories.
Click to hide internal directories.