FlatImage
A configurable Linux containerization system
Loading...
Searching...
No Matches
ns_log::debug Class Referencefinal

Debug-level logger (lowest priority) More...

#include <log.hpp>

Inheritance diagram for ns_log::debug:
[legend]
Collaboration diagram for ns_log::debug:
[legend]

Public Member Functions

 debug (Location location=Location())
 Constructs a debug logger.
 
- Public Member Functions inherited from ns_log::Writer
 Writer (Location const &location, Level const &level, std::string prefix, std::ostream &ostream)
 Constructs a Writer with location and level information.
 
template<ns_concept::StringRepresentable T, typename... Args>
requires ( ( ns_concept::StringRepresentable<Args> or ns_concept::Iterable<Args> ) and ... )
void operator() (T &&format, Args &&... args)
 Writes a formatted log message.
 

Detailed Description

Debug-level logger (lowest priority)

Only outputs to console when logger level is set to Level::DEBUG. Always writes to sink file if configured. Uses stdout.

Definition at line 521 of file log.hpp.

Constructor & Destructor Documentation

◆ debug()

ns_log::debug::debug ( Location location = Location())
inline

Constructs a debug logger.

Parameters
locationSource location (automatically captured if not specified)

Definition at line 530 of file log.hpp.

Here is the call graph for this function:

The documentation for this class was generated from the following file: