Breaking changes
- parameter
levelin functionCreateLoghas been removed, as log levels are now handled by the log-core YAML config file - function
SetLogPluginLogLevelhas been removed, specify theplugins/log-pluginlogger settings in thelog-config.ymlconfig instead - function
SetLogLevelhas been removed, specify the related logger setting in thelog-config.ymlconfig 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 1to yourserver.cfgto 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