Namespace spdlog

Description

No description yet.

Namespaces

cfg
details
level
sinks

Classes

async_factory_implasync logger factory - creates async loggers backed with thread pool
async_logger

Mentioned in

custom_flag_formatter

Mentioned in

formatter

Mentioned in

is_convertible_to_wstring_view
logger

Mentioned in

pattern_formatter

Mentioned in

source_loc
spdlog_exLog exception
stopwatch

Mentioned in

synchronous_factory

Functions

apply_allApply a user defined function on all registered loggers Example: spdlog::apply_all(& {l->flush();});
basic_logger_mtfactory functions
basic_logger_st

Mentioned in

createCreate and register a logger with a templated sink type The logger's level, formatter and flush level will be set according the global settings.
create_async

Mentioned in

create_async_nb

Mentioned in

critical overload

Mentioned in

daily_logger_format_mt
daily_logger_format_st
daily_logger_mtfactory functions
daily_logger_st
debug overload

Mentioned in

default_loggerAPI for using default logger (stdout_color_mt), e.g: spdlog::info("Message {}", 1);
default_logger_raw
disable_backtracedisable global backtrace support
dropDrop the reference to the given logger.
drop_allDrop all references from the registry.
dump_backtracecall dump backtrace on default logger
enable_backtraceenable global backtrace support
error overload

Mentioned in

flush_everyStart/Restart a periodic flusher thread Warning: Use only if all your loggers are thread safe!
flush_onSet global flush level.
getReturn an existing logger or nullptr if a logger with such name doesn't exist
get_levelGet global logging level.
hourly_logger_mtfactory functions
hourly_logger_st
info overload

Mentioned in

init_thread_pool overloadset global thread pool.
initialize_loggerInitialize and register a logger, formatter and flush level will be set according the global settings.
log overload
null_logger_mt
null_logger_st
register_loggerRegister the given logger with the given name.
rotating_logger_mtfactory functions
rotating_logger_st
set_automatic_registrationAutomatic registration of loggers when using spdlog::create() or spdlog::create_async.
set_default_logger

Mentioned in

set_error_handlerSet global error handler.
set_formatterSet global formatter. Each sink in each logger will get a clone of this object.
set_levelSet global logging level.
set_patternSet global format string
should_logDetermine whether the default logger should log messages with a certain level.
shutdownstop any running threads started by spdlog and clean registry loggers
stderr_color_mt

Mentioned in

stderr_color_st

Mentioned in

stderr_logger_mt
stderr_logger_st

Mentioned in

stdout_color_mt

Mentioned in

stdout_color_st
stdout_logger_mtfactory methods
stdout_logger_st
swap
syslog_logger_mtCreate and register a syslog logger.
syslog_logger_st
systemd_logger_mtCreate and register a syslog logger.
systemd_logger_st
thread_poolget the global thread pool.
throw_spdlog_ex overload
to_hex overloadcreate a dump_info that wraps the given container
to_hex overloadcreate dump_info from ranges
trace overload

Mentioned in

warn overload

Mentioned in

Enums

async_overflow_policyAsync overflow policy - block by default.
color_modeColor mode used by sinks with color support.
pattern_time_typePattern time - specific time getting to use for pattern_formatter

Typedefs

Typedefs (async.h)

using async_factory = async_factory_impl< async_overflow_policy::block >

Mentioned in:

using async_factory_nonblock = async_factory_impl< async_overflow_policy::overrun_oldest >

Typedefs (common.h)

using filename_t = std::string

using log_clock = std::chrono::system_clock

using sink_ptr = std::shared_ptr< sinks::sink >

Mentioned in:

using sinks_init_list = std::initializer_list< sink_ptr >

Mentioned in:

using err_handler = std::function< void(const std::string &err_msg)>

using string_view_t = fmt::basic_string_view< char >

using wstring_view_t = fmt::basic_string_view< wchar_t >

using memory_buf_t = fmt::basic_memory_buffer< char, 250 >

Mentioned in:

using wmemory_buf_t = fmt::basic_memory_buffer< wchar_t, 250 >

using level_t = std::atomic< int >

Typedefs (spdlog.h)

using default_factory = synchronous_factory

Source

Line 25 in include/spdlog/async.h.






Add Discussion

Log in to comment