mariadb log: Difference between revisions

From Onset Developer Wiki
28days (talk | contribs)
No edit summary
No edit summary
 
(One intermediate revision by one other user not shown)
Line 7: Line 7:


{{FuncParameters}}
{{FuncParameters}}
{{FuncParam|level_str|The level of logging.}}
{{FuncParam|level_str|The level of logging as a string. logging levels: none, error, warning, info, debug}}


{{FuncReturnValue|This function returns nothing.}}
{{FuncReturnValue|This function returns nothing.}}
Line 15: Line 15:
AddEvent("OnPackageStart", function()
AddEvent("OnPackageStart", function()
-- logging levels: none, error, warning, info, debug
-- logging levels: none, error, warning, info, debug
mariadb_log()
mariadb_log("error")
end)
end)
</syntaxhighlight>
</syntaxhighlight>

Latest revision as of 08:21, 2 September 2020