File logging.hpp¶
FileList > backends > cxx > include > zmbt > logging.hpp
Go to the source code of this file
#include <boost/describe.hpp>
#include <boost/json.hpp>
#include <zmbt/core/preprocessor.hpp>
#include <chrono>
#include <fstream>
#include <iomanip>
#include <iostream>
#include <memory>
#include <mutex>
#include <sstream>
#include <string>
Namespaces¶
Type | Name |
---|---|
namespace | zmbt ZMBT root namespace. |
Classes¶
Type | Name |
---|---|
class | Logger |
struct | StubLogger |
Macros¶
Type | Name |
---|---|
define | ZMBT_DEBUG [**::zmbt::StubLogger**](structzmbt_1_1StubLogger.md)() |
define | ZMBT_LOG (lvl) [**::zmbt::Logger**](classzmbt_1_1Logger.md)().WithSrcLoc(ZMBT\_CUR\_LOC).WithLevel(::zmbt::Logger::lvl) |
define | ZMBT_LOG_CERR (lvl) ZMBT\_LOG(lvl).WithOutput(::zmbt::Logger::STDERR) |
define | ZMBT_LOG_JSON (lvl) ZMBT\_LOG(lvl).WithOutput(::zmbt::Logger::JSON) |
Detailed Description¶
Copyright:
(c) Copyright 2024 Zenseact AB
** **
SPDX-License-Identifier: Apache-2.0
Macro Definition Documentation¶
define ZMBT_DEBUG¶
define ZMBT_LOG¶
#define ZMBT_LOG (
lvl
) `::zmbt::Logger ().WithSrcLoc(ZMBT_CUR_LOC).WithLevel(::zmbt::Logger::lvl)`
define ZMBT_LOG_CERR¶
define ZMBT_LOG_JSON¶
The documentation for this class was generated from the following file zmbt-framework/zmbt-framework/backends/cxx/include/zmbt/logging.hpp