Open vb2007 opened 3 months ago
A simple option called logLevel, that could be added to the config.json file.
logLevel
config.json
It probably will have 2 valid values:
The INFO logging will probably need log types before the log messages: [COMMAND], [ACTION], etc.
The template will be:
[yyyy:MM:dd - hh:mm:ss] [log-level] [optional-info-action] : log message...
For example:
[2024:07:08 - 09:25:23] [INFO] [COMMAND] : User {username} used the command {command-name}.
{username}
{command-name}
Some coloring for different log levels might get added as well.
A simple option called
logLevel
, that could be added to theconfig.json
file.It probably will have 2 valid values:
The INFO logging will probably need log types before the log messages: [COMMAND], [ACTION], etc.
The template will be:
[yyyy:MM:dd - hh:mm:ss] [log-level] [optional-info-action] : log message...
For example:
[2024:07:08 - 09:25:23] [INFO] [COMMAND] : User
{username}
used the command{command-name}
.Some coloring for different log levels might get added as well.