Cosmetic reformatting

This commit is contained in:
Bill Somerville 2020-10-10 15:15:10 +01:00
parent 5824b3e9d8
commit 1dd5838f50
No known key found for this signature in database
GPG Key ID: D864B06D1E81618F

View File

@ -104,9 +104,9 @@ namespace Logger
// Add attributes: LineID, TimeStamp, ProcessID, ThreadID, and Uptime // Add attributes: LineID, TimeStamp, ProcessID, ThreadID, and Uptime
auto core = logging::core::get (); auto core = logging::core::get ();
core->add_global_attribute ("LineID", attrs::counter<unsigned int> (1)); core->add_global_attribute ("LineID", attrs::counter<unsigned int> (1));
core->add_global_attribute("TimeStamp", attrs::utc_clock ()); core->add_global_attribute ("TimeStamp", attrs::utc_clock ());
core->add_global_attribute("ProcessID", attrs::current_process_id ()); core->add_global_attribute ("ProcessID", attrs::current_process_id ());
core->add_global_attribute("ThreadID", attrs::current_thread_id ()); core->add_global_attribute ("ThreadID", attrs::current_thread_id ());
core->add_global_attribute ("Uptime", attrs::timer ()); core->add_global_attribute ("Uptime", attrs::timer ());
// Allows %Severity% to be used in ini config file for property Filter. // Allows %Severity% to be used in ini config file for property Filter.