MEL
Microthread & Execution library
logger.h File Reference

The only sense of this file is as a wrapper to spdlog in order t avoid its use if no installed in any concrete platform. More...

#include <MelLibType.h>
#include <iostream>
#include <string>

Go to the source code of this file.

Namespaces

 mel
 
 mel::text
 Basic text functionalities.
 

Enumerations

enum  ELevel {
  debug = 0 , info = 1 , err = 2 , warn = 3 ,
  critical = 4
}
 

Functions

void MEL_API mel::text::set_level (mel::text::level::ELevel level)
 
level::ELevel MEL_API mel::text::get_level ()
 
template<class... Args>
void mel::text::debug (std::string s, Args &&... args)
 
template<class... Args>
void mel::text::info (std::string s, Args &&... args)
 
template<class... Args>
void mel::text::error (std::string s, Args &&... args)
 
template<class... Args>
void mel::text::warn (std::string s, Args &&... args)
 
template<class... Args>
void mel::text::critical (std::string s, Args &&... args)
 

Variables

ELevel MEL_API mel::text::level::_private::sLevel
 

Detailed Description

The only sense of this file is as a wrapper to spdlog in order t avoid its use if no installed in any concrete platform.