NeoN
A framework for CFD software
Loading...
Searching...
No Matches
Classes | Namespaces | Enumerations | Functions
logging.hpp File Reference
#include <chrono>
#include <source_location>
#include <format>
#include <memory>
#include <string>
#include <string_view>

Go to the source code of this file.

Classes

class  NeoN::Logging::LogEvent
 
class  NeoN::Logging::BaseLogger
 
class  NeoN::Logging::Logger
 
class  NeoN::Logging::SupportsLoggingMixin
 

Namespaces

namespace  NeoN
 
namespace  NeoN::Logging
 

Enumerations

enum  NeoN::Logging::Level {
  NeoN::Logging::Trace , NeoN::Logging::Debug , NeoN::Logging::Info , NeoN::Logging::Warning ,
  NeoN::Logging::Error , NeoN::Logging::Critical
}
 
enum  NeoN::Logging::Target { NeoN::Logging::Console , NeoN::Logging::File }
 

Functions

void NeoN::Logging::setNeonDefaultPattern ()
 
void NeoN::Logging::logImpl (std::string sv, Level level, std::string logName="NeoN")
 
template<typename... Args>
void NeoN::Logging::info (std::string formatString, Args... args)
 
template<typename... Args>
void NeoN::Logging::warn (std::string formatString, Args... args)
 
void NeoN::Logging::log (std::shared_ptr< BaseLogger > logger, LogEvent &event, std::string_view delim=",")
 
template<typename CallClass >
void NeoN::Logging::setLogger (CallClass &cls, std::shared_ptr< BaseLogger > logger)