Fivemanage SDK for FiveM
Logs with SDK

Gettings started

With our logs system you can easily set up logs throughout your entire server which you can later inspect in the dashboard.

This feature requires the Basic plan from Fivemanage.


LogMessage (server-side)

The LogMessage export takes in three arguments. level, message and metadata.

level - Values are either info, warn or error

message - any string

metadata - Can be a table or object with any properties you want. If you provide the playerSource as seen below, identifiers for the player will also be sent.

exports.fivemanage_lib:LogMessage('info', "Someone did a bad thing", {
    playerSource = 1