FlatImage
A configurable Linux containerization system
Loading...
Searching...
No Matches
ns_log::warn Class Reference

Warning-level logger (potential issues) More...

#include <log.hpp>

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

Public Member Functions

 warn (Location location=Location())
 Constructs a warning 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

Warning-level logger (potential issues)

Outputs to console when logger level is WARN or higher. Always writes to sink file if configured. Uses stderr.

Definition at line 563 of file log.hpp.

Constructor & Destructor Documentation

◆ warn()

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

Constructs a warning logger.

Parameters
locationSource location (automatically captured if not specified)

Definition at line 572 of file log.hpp.

Here is the call graph for this function:

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