mirror of
https://github.com/mjl-/mox.git
synced 2025-07-17 04:46:07 +03:00
allow unsetting a log level through subcommand and add admin page for settng log level
This commit is contained in:
@ -577,6 +577,52 @@
|
||||
}
|
||||
],
|
||||
"Returns": []
|
||||
},
|
||||
{
|
||||
"Name": "LogLevels",
|
||||
"Docs": "LogLevels returns the current log levels.",
|
||||
"Params": [],
|
||||
"Returns": [
|
||||
{
|
||||
"Name": "r0",
|
||||
"Typewords": [
|
||||
"{}",
|
||||
"string"
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"Name": "LogLevelSet",
|
||||
"Docs": "LogLevelSet sets a log level for a package.",
|
||||
"Params": [
|
||||
{
|
||||
"Name": "pkg",
|
||||
"Typewords": [
|
||||
"string"
|
||||
]
|
||||
},
|
||||
{
|
||||
"Name": "levelStr",
|
||||
"Typewords": [
|
||||
"string"
|
||||
]
|
||||
}
|
||||
],
|
||||
"Returns": []
|
||||
},
|
||||
{
|
||||
"Name": "LogLevelRemove",
|
||||
"Docs": "LogLevelRemove removes a log level for a package, which cannot be the empty string.",
|
||||
"Params": [
|
||||
{
|
||||
"Name": "pkg",
|
||||
"Typewords": [
|
||||
"string"
|
||||
]
|
||||
}
|
||||
],
|
||||
"Returns": []
|
||||
}
|
||||
],
|
||||
"Sections": [],
|
||||
|
Reference in New Issue
Block a user