Namespaces | Macros | Functions
spdlog.h File Reference
#include "opc/spdlog/tweakme.h"
#include "opc/spdlog/common.h"
#include "opc/spdlog/logger.h"
#include <memory>
#include <functional>
#include <chrono>
#include <string>
#include "opc/spdlog/details/spdlog_impl.h"
Include dependency graph for spdlog.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 spdlog
 

Macros

#define SPDLOG_DEBUG(logger, ...)
 
#define SPDLOG_DEBUG_IF(logger, flag, ...)
 
#define SPDLOG_TRACE(logger, ...)
 
#define SPDLOG_TRACE_IF(logger, flag, ...)
 
#define SPDLOG_VERSION   "0.13.0"
 

Functions

void spdlog::apply_all (std::function< void(std::shared_ptr< logger >)> fun)
 
std::shared_ptr< logger > spdlog::basic_logger_mt (const std::string &logger_name, const filename_t &filename, bool truncate=false)
 
std::shared_ptr< logger > spdlog::basic_logger_st (const std::string &logger_name, const filename_t &filename, bool truncate=false)
 
std::shared_ptr< logger > spdlog::create (const std::string &logger_name, const sink_ptr &sink)
 
std::shared_ptr< logger > spdlog::create (const std::string &logger_name, sinks_init_list sinks)
 
template<class It >
std::shared_ptr< logger > spdlog::create (const std::string &logger_name, const It &sinks_begin, const It &sinks_end)
 
template<typename Sink , typename... Args>
std::shared_ptr< spdlog::loggerspdlog::create (const std::string &logger_name, Args...)
 
std::shared_ptr< logger > spdlog::create_async (const std::string &logger_name, const sink_ptr &sink, size_t queue_size, const async_overflow_policy overflow_policy=async_overflow_policy::block_retry, const std::function< void()> &worker_warmup_cb=nullptr, const std::chrono::milliseconds &flush_interval_ms=std::chrono::milliseconds::zero(), const std::function< void()> &worker_teardown_cb=nullptr)
 
std::shared_ptr< logger > spdlog::create_async (const std::string &logger_name, sinks_init_list sinks, size_t queue_size, const async_overflow_policy overflow_policy=async_overflow_policy::block_retry, const std::function< void()> &worker_warmup_cb=nullptr, const std::chrono::milliseconds &flush_interval_ms=std::chrono::milliseconds::zero(), const std::function< void()> &worker_teardown_cb=nullptr)
 
template<class It >
std::shared_ptr< logger > spdlog::create_async (const std::string &logger_name, const It &sinks_begin, const It &sinks_end, size_t queue_size, const async_overflow_policy overflow_policy=async_overflow_policy::block_retry, const std::function< void()> &worker_warmup_cb=nullptr, const std::chrono::milliseconds &flush_interval_ms=std::chrono::milliseconds::zero(), const std::function< void()> &worker_teardown_cb=nullptr)
 
std::shared_ptr< logger > spdlog::daily_logger_mt (const std::string &logger_name, const filename_t &filename, int hour=0, int minute=0)
 
std::shared_ptr< logger > spdlog::daily_logger_st (const std::string &logger_name, const filename_t &filename, int hour=0, int minute=0)
 
void spdlog::drop (const std::string &name)
 
void spdlog::drop_all ()
 
std::shared_ptr< logger > spdlog::get (const std::string &name)
 
void spdlog::register_logger (std::shared_ptr< logger > logger)
 
std::shared_ptr< logger > spdlog::rotating_logger_mt (const std::string &logger_name, const filename_t &filename, size_t max_file_size, size_t max_files)
 
std::shared_ptr< logger > spdlog::rotating_logger_st (const std::string &logger_name, const filename_t &filename, size_t max_file_size, size_t max_files)
 
void spdlog::set_async_mode (size_t queue_size, const async_overflow_policy overflow_policy=async_overflow_policy::block_retry, const std::function< void()> &worker_warmup_cb=nullptr, const std::chrono::milliseconds &flush_interval_ms=std::chrono::milliseconds::zero(), const std::function< void()> &worker_teardown_cb=nullptr)
 
void spdlog::set_error_handler (log_err_handler)
 
void spdlog::set_formatter (formatter_ptr f)
 
void spdlog::set_level (level::level_enum log_level)
 
void spdlog::set_pattern (const std::string &format_string)
 
void spdlog::set_sync_mode ()
 
std::shared_ptr< logger > spdlog::stderr_color_mt (const std::string &logger_name)
 
std::shared_ptr< logger > spdlog::stderr_color_st (const std::string &logger_name)
 
std::shared_ptr< logger > spdlog::stderr_logger_mt (const std::string &logger_name)
 
std::shared_ptr< logger > spdlog::stderr_logger_st (const std::string &logger_name)
 
std::shared_ptr< logger > spdlog::stdout_color_mt (const std::string &logger_name)
 
std::shared_ptr< logger > spdlog::stdout_color_st (const std::string &logger_name)
 
std::shared_ptr< logger > spdlog::stdout_logger_mt (const std::string &logger_name)
 
std::shared_ptr< logger > spdlog::stdout_logger_st (const std::string &logger_name)
 

Macro Definition Documentation

#define SPDLOG_DEBUG (   logger,
  ... 
)

Definition at line 182 of file spdlog.h.

#define SPDLOG_DEBUG_IF (   logger,
  flag,
  ... 
)

Definition at line 183 of file spdlog.h.

#define SPDLOG_TRACE (   logger,
  ... 
)

Definition at line 174 of file spdlog.h.

#define SPDLOG_TRACE_IF (   logger,
  flag,
  ... 
)

Definition at line 175 of file spdlog.h.

#define SPDLOG_VERSION   "0.13.0"

Definition at line 10 of file spdlog.h.



ros_opcua_impl_freeopcua
Author(s): Denis Štogl
autogenerated on Tue Jan 19 2021 03:12:09