Logs

Details

Below, you will find detailed configuration for bolos.

Configuration file

config/logs.lua
return {
    ---@type boolean
    enabled = true,

    -- if defined, it will enable logs page for certain groups
    -- if set to false, it will take in account above and enable logs page for everyone
    -- who uses dispatch
    ---@type table<string, boolean> | false
    enabledFor = false,
}

Detailed types information

enabledboolean
Defines if Logs page is enabled in general.
enabledFortable<string, boolean> | false
If this set to false and enabled is set to true, logs page will be enabled for everyone. Otherwise you can set a table for example:
enabledFor = {
  ['police'] = true
}
In this example, logs page will be shown only to police.