Photon Common Library 2.0.0-beta
A physically based renderer.
|
#include "Common/logging.h"
#include "Common/Log/Logger.h"
#include "Common/assertion.h"
#include "Common/Utility/Timestamp.h"
#include <utility>
#include <mutex>
#include <fstream>
#include <iostream>
#include <algorithm>
#include <filesystem>
#include <optional>
Namespaces | |
namespace | ph |
The root for all renderer implementations. | |
namespace | ph::detail |
Implementation detail mainly for internal usages. | |
namespace | ph::detail::core_logging |
Core logging functionalities. Most logs will output information (logs) via a main logger, which we refer to as "core logger". This namespace contains implementation details for core logging functionalities. | |
Functions | |
void | ph::detail::core_logging::init () |
Initializes core logging functionalities. Any logging is only valid after calling init() . | |
void | ph::detail::core_logging::exit () |
Terminates core logging functionalities. Cleanup after logging is finished. | |
Logger & | ph::detail::core_logging::get_logger () |
Get the core logger. | |
std::size_t | ph::detail::core_logging::add_log_group (std::string_view groupName, std::string_view category="") |
Add a log group to the core logger. | |
void | ph::detail::core_logging::log_to_logger (const Logger &logger, std::string_view groupName, ELogLevel logLevel, std::string_view logMessage) |
Log information to the specified logger. | |
ph::PH_DEFINE_LOG_GROUP (PhotonRenderer, Core) | |
LogGroups | ph::get_core_log_groups () |