Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateLogger ¶
func CreateLogger(options CreateLoggerOptions) func(call goja.FunctionCall) goja.Value
Types ¶
type CreateLoggerOptions ¶
type LogLevel ¶
type LogLevel uint8
const LogLevelBase LogLevel = 0
const LogLevelDanger LogLevel = 2
const LogLevelWarning LogLevel = 1
type NewRenderOptions ¶
type Render ¶
type Render = func(options RenderOptions) (head string, body string, err error)
func NewRender ¶
func NewRender(options NewRenderOptions) (render Render, err error)
type RenderOptions ¶
Click to show internal directories.
Click to hide internal directories.