HEX
HexscriptsJobscreatorExportsServer Exports

Logs

Server export to write your own entries into a job's audit log.

writeJobLog

Writes an entry into the job's audit log, visible in the creator's Logs tab.

Entries are attributable

The log category is set to the name of the resource that called the export, so you can always see where an entry came from.

exports['hex_jobscreator']:writeJobLog(5, 'police', 'Impounded a vehicle', 'Sultan RS', {
    plate = 'ABC 123'
})

Prop

Type

Returns

ValueMeaning
trueentry written
false, reasoninvalid_job · invalid_action

On this page