smgl 0.11.0
Structured Metadata Engine and Graph Objects Library
Loading...
Searching...
No Matches
Namespaces | Enumerations | Functions
Logging.hpp File Reference

Library logging utilities. More...

#include <ostream>
#include <string>
Include dependency graph for Logging.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  smgl
 Project top-level namespace.
 

Enumerations

enum  smgl::LogLevel {
  smgl::All = 0 , smgl::Debug = 10 , smgl::Info = 20 , smgl::Warning = 30 ,
  smgl::Error = 40 , smgl::None = 100
}
 Log levels. More...
 

Functions

void smgl::SetLogLevel (LogLevel level)
 Set the library log level.
 
void smgl::SetLogLevel (const std::string &level)
 
auto smgl::GetLogLevel () -> LogLevel
 Get the library log level.
 
void smgl::SetLogStream (std::ostream *os)
 Set the output stream.
 

Detailed Description

Library logging utilities.

The public interface for controlling smgl library logging.

Definition in file Logging.hpp.