numerical-collection-cpp 0.10.0
A collection of algorithms in numerical analysis implemented in C++
Loading...
Searching...
No Matches
colored_compact_log_formatter.h File Reference

Definition of colored_compact_log_formatter class. More...

#include <cstddef>
#include <iterator>
#include <string_view>
#include <fmt/base.h>
#include <fmt/color.h>
#include <fmt/format.h>
#include "num_collect/logging/formatters/get_log_level_str_for_log.h"
#include "num_collect/logging/formatters/log_formatter_base.h"
#include "num_collect/logging/log_level.h"
#include "num_collect/logging/time_stamp.h"
#include "num_collect/util/source_info_view.h"
+ Include dependency graph for colored_compact_log_formatter.h:

Go to the source code of this file.

Classes

class  num_collect::logging::formatters::colored_compact_log_formatter
 Class to format logs compactly with colors. More...
 

Namespaces

namespace  num_collect
 Namespace of num_collect source codes.
 
namespace  num_collect::logging
 Namespace of logging.
 
namespace  num_collect::logging::formatters
 Namespace of formatters of logs.
 
namespace  num_collect::logging::formatters::impl
 Namespace of internal implementations.
 

Functions

auto num_collect::logging::formatters::impl::get_body_style (log_level level) -> fmt::text_style
 Get the style for a log body.
 
auto num_collect::logging::formatters::impl::get_log_level_style (log_level level) -> fmt::text_style
 Get the style for a log level.
 

Detailed Description

Definition of colored_compact_log_formatter class.

Definition in file colored_compact_log_formatter.h.