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

Info-level logger (informational messages) More...

#include <log.hpp>

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

Public Member Functions

 info (Location location=Location())
 Constructs an info 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

Info-level logger (informational messages)

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

Definition at line 542 of file log.hpp.

Constructor & Destructor Documentation

◆ info()

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

Constructs an info logger.

Parameters
locationSource location (automatically captured if not specified)

Definition at line 551 of file log.hpp.

Here is the call graph for this function:

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