Skip to content

mysql_log

imshooter edited this page Dec 1, 2026 · 2 revisions

Choose what the plugin logs.

ERROR logs failed queries, WARNING refused queries, slow queries, missing fields and natives given values that are not valid, INFO connections, and DEBUG every query with its time.

native bool:mysql_log(E_LOGLEVEL:loglevel = ERROR | WARNING);

With open.mp names, from the same include:

native bool:MySQL_SetLogLevel(E_LOGLEVEL:loglevel = ERROR | WARNING);

Parameters

Parameter Description
`E_LOGLEVEL:loglevel = ERROR WARNING`

Returns

  • true.

Home

Guides

Reference

Functions

Connections
Queries
Cache
JSON cells
ORM
Queries built in pieces
Prepared statements
Batches
Transactions
Passwords
Callbacks

Clone this wiki locally