libwreport
3.10
|
Configuration variables to control configurable aspects of wreport's behaviour. More...
Go to the source code of this file.
Data Structures | |
struct | wreport::options::LocalOverride< T > |
Temporarily override a variable while this object is in scope. More... | |
Namespaces | |
wreport | |
String functions. | |
Variables | |
thread_local bool | wreport::options::var_silent_domain_errors |
Whether domain errors on Var assignments raise exceptions. More... | |
Configuration variables to control configurable aspects of wreport's behaviour.
Variables are global and thread_local. They are global because they are consulted in performance-critical code like Var::seti, and they are thread_local so that a thread that changes its own configuration does not affect the others.
LocalOverride can be used to perform configuration changes for the duration of a scope. Note that if while the override is active you pass control to an unrelated part of the code which also uses wreport, the behaviour of that code is also changed.