Show raw api
{
"functions": [
{
"name": "new",
"desc": "Creates a new OutputHandler.",
"params": [],
"returns": [
{
"desc": "",
"lua_type": "OutputHandler"
}
],
"function_type": "static",
"since": "0.1.0",
"source": {
"line": 19,
"path": "Logging/Handler/OutputHandler.lua"
}
},
{
"name": "emit",
"desc": "Formats the given record using the [Handler.formatter], then passes it to either `print` or\n`warn`, depending on record level ([Level.Warning] and higher will be piped to `warn`).",
"params": [
{
"name": "record",
"desc": "",
"lua_type": "Record"
}
],
"returns": [],
"function_type": "method",
"since": "0.1.0",
"source": {
"line": 34,
"path": "Logging/Handler/OutputHandler.lua"
}
}
],
"properties": [],
"types": [],
"name": "OutputHandler",
"desc": "An implementation of [Handler] which pipes record messages to either `print` or `warn`, depending\non the record level ([Level.Warning] and higher will be piped to `warn`).\n[Logging:basicConfig] creates one of these and attaches it to the root logger.",
"source": {
"line": 7,
"path": "Logging/Handler/OutputHandler.lua"
}
}