#include "RST/log/Log.hpp"
#include "RST/log/LogRegistry.hpp"
#include <chrono>
#include <memory>
#include <string>
#include <utility>
Go to the source code of this file.
|
| namespace | RST |
| | Root namespace of RSTools.
|
| |
| namespace | RST::Log |
| | Thread-safe logging: loggers, sinks, patterns and macros.
|
| |
◆ RST_LOG_SCOPE_TIME
| #define RST_LOG_SCOPE_TIME |
( |
|
logger, |
|
|
|
name |
|
) |
| |
Value:
#define RST_SOURCE_LOCATION
SourceLocation of the line where it is written.
Definition SourceLocation.hpp:17
Logs the time spent in a scope when destroyed, usually through RST_LOG_SCOPE_TIME().
Definition ScopedTimer.hpp:16
Times the rest of the current scope and logs it at debug level on logger.
◆ RST_LOG_SCOPE_TIME_DEFAULT
◆ RST_LOG_SCOPE_TIME_WARN
| #define RST_LOG_SCOPE_TIME_WARN |
( |
|
logger, |
|
|
|
name, |
|
|
|
thresholdMs |
|
) |
| |