#include <boost/date_time/posix_time/posix_time_types.hpp>
#include <boost/log/attributes/current_process_id.hpp>
#include <boost/log/attributes/current_process_name.hpp>
#include <boost/log/attributes/current_thread_id.hpp>
#include <boost/log/expressions.hpp>
#include <boost/log/sources/global_logger_storage.hpp>
#include <boost/log/sources/logger.hpp>
#include <boost/log/sources/record_ostream.hpp>
#include <boost/log/sources/severity_logger.hpp>
#include <boost/log/support/date_time.hpp>
#include <boost/log/utility/setup/common_attributes.hpp>
#include <boost/log/utility/setup/console.hpp>
#include <boost/log/utility/setup/file.hpp>
#include <fstream>
#include <ostream>
#include "SysHelper.h"
#include "UserDefaults.h"
#include "def.h"
Go to the source code of this file.
|
| dds |
| Miscellaneous functions and helpers are located here.
|
|
| dds::misc |
|
|
#define | BOOST_LOG_DYN_LINK |
|
#define | LOG(severity) BOOST_LOG_SEV(dds::misc::Logger::instance().logger(), severity) |
|
#define | P_H BOOST_LOG_SEV(dds::misc::Logger::instance().logger(), dds::misc::proto_high) |
|
#define | P_M BOOST_LOG_SEV(dds::misc::Logger::instance().logger(), dds::misc::proto_mid) |
|
#define | P_L BOOST_LOG_SEV(dds::misc::Logger::instance().logger(), dds::misc::proto_low) |
|
#define | DBG BOOST_LOG_SEV(dds::misc::Logger::instance().logger(), dds::misc::debug) |
|
#define | INF BOOST_LOG_SEV(dds::misc::Logger::instance().logger(), dds::misc::info) |
|
#define | WRN BOOST_LOG_SEV(dds::misc::Logger::instance().logger(), dds::misc::warning) |
|
#define | ERR BOOST_LOG_SEV(dds::misc::Logger::instance().logger(), dds::misc::error) |
|
#define | FAT BOOST_LOG_SEV(dds::misc::Logger::instance().logger(), dds::misc::fatal) |
|
#define | STDOUT BOOST_LOG_SEV(dds::misc::Logger::instance().logger(), dds::misc::log_stdout) |
|
#define | STDOUT_CLEAN BOOST_LOG_SEV(dds::misc::Logger::instance().logger(), dds::misc::log_stdout_clean) |
|
#define | STDERR BOOST_LOG_SEV(dds::misc::Logger::instance().logger(), dds::misc::log_stderr) |
|
◆ BOOST_LOG_DYN_LINK
#define BOOST_LOG_DYN_LINK |
◆ DBG
#define DBG BOOST_LOG_SEV(dds::misc::Logger::instance().logger(), dds::misc::debug) |
◆ ERR
#define ERR BOOST_LOG_SEV(dds::misc::Logger::instance().logger(), dds::misc::error) |
◆ FAT
#define FAT BOOST_LOG_SEV(dds::misc::Logger::instance().logger(), dds::misc::fatal) |
◆ INF
#define INF BOOST_LOG_SEV(dds::misc::Logger::instance().logger(), dds::misc::info) |
◆ LOG
#define LOG |
( |
|
severity | ) |
BOOST_LOG_SEV(dds::misc::Logger::instance().logger(), severity) |
◆ P_H
◆ P_L
◆ P_M
◆ STDERR
◆ STDOUT
◆ STDOUT_CLEAN
◆ WRN