|-
| '''Summary'''
|Writes a string to the database logs, along with current user data (timestamp, user name). An optional log {{Code|$type}} can be specified, which must consist of letters in upper case. If omitted, the log type is {{Code|INFO}}.<br/>If the function is called from a database client, the IP will be logged. Otherwise, the string {{Code|SERVER}} will be logged.
|-
| '''Errors'''
|{{Error|type|#Errors}} Log type Type string contains invalid characterswhitespaces.
|}
|-
|{{Code|type}}
|Log type Type string contains invalid characterswhitespaces.
|}