rikitiki
v0.1.67
Build C++ web server modules that allow easy routing and deployment.
|
Rikitiki uses a really basic logging mechnanism throughout the framework.
LOG is a macro which takes in a category and a log level. If the current log level for that category is set lower than the passed in level, it will print whatever follows the log macro. The default stream used is 'std::cerr'.
Note that if the log level isn't set high enough, none of the data shifted towards it is evaluated. This is faster than other methods in that no needless computation is done; however you can not expect functions that have side effects to always execute.
The valid log levels, in order, are:
Info is the default level for all categories.
If the configuration extension is enabled, log levels are automatically populated from the found configuration file.
The valid section of the configuration file is
It is also intended, at some point, to allow you to set up which streams are used in this section.