Breaking changes
- parameter
level
in functionCreateLog
has been removed, as log levels are now handled by the log-core YAML config file - function
SetLogPluginLogLevel
has been removed, specify theplugins/log-plugin
logger settings in thelog-config.yml
config instead - function
SetLogLevel
has been removed, specify the related logger setting in thelog-config.yml
config instead
New features:
- log-core has been updated to v0.5, refer to the log-core release page for all features and changes
- added support for redirecting console output to a logger; add
logplugin_capture_serverlog 1
to yourserver.cfg
to enable this feature (refer to this on why you'd want to enable this feature) - added more format specifiers to
Log
:
specifier | description |
---|---|
s | string |
d/i | decimal number |
o | octal number |
x | hex number (lowercase) |
X | hex number (uppercase) |
b | binary number |
f | float |
F | float with uppercase "NAN" and "INF" |
e | float (exponential notation) |
E | float (exponential notation with uppercase "E") |
g | float (general format; combination of "f" and "e") |
G | float (general format, uppercase) |
- general improvements