mariadb log

From Onset Developer Wiki
Revision as of 09:43, 19 November 2019 by 28days (talk | contribs)
mariadb log

Type: Function
Context: Server
Introduced: v1.0

NOTICE

This function is provided by the official MariaDB plugin.

Description

Set the mariaDB logging level.

Syntax

mariadb_log(level_str)

Parameters

  • level_str
    The level of logging.

Return Value

  • This function returns nothing.

Example

AddEvent("OnPackageStart", function()
	mariadb_log(SQL_LOGL)
end)

See also