Like std::source_location, but allowing to override the function name.
Synopsis
Declared in <util/log.h>
class SourceLocation;
Member Functions
Name |
Description |
|
Construct from a function name and a source location. The func argument must be constructed from the C++11 func macro. Ref: https://en.cppreference.com/w/cpp/language/function.html#func Non‐static string literals are not supported. |
Return the file name of the source location. |
|
Return the overriding function name. |
|
Return the line number of the source location. |
Non-Member Functions
Name |
Description |
Format and log a message with rate limiting enabled. |
|
Format and log a message with rate limiting disabled. |
|
|
Format a log message and forward it to util::log::Log. |
Created with MrDocs