Loading...
Searching...
No Matches
log.h File Reference
#include <functional>
#include <ostream>
#include <sstream>
#include <string_view>

Go to the source code of this file.

Classes

class  opennn::logging::Line
 

Namespaces

namespace  opennn
 
namespace  opennn::logging
 

Typedefs

using opennn::logging::Sink = std::function<void(Level, std::string_view)>
 

Enumerations

enum class  opennn::logging::Level {
  opennn::logging::Silent = 0 , opennn::logging::Error = 1 , opennn::logging::Warning = 2 , opennn::logging::Info = 3 ,
  opennn::logging::Debug = 4
}
 

Functions

Level opennn::logging::level () noexcept
 
void opennn::logging::set_level (Level) noexcept
 
bool opennn::logging::enabled (Level) noexcept
 
void opennn::logging::set_sink (Sink)
 
void opennn::logging::write (Level, std::string_view)
 
Line opennn::logging::error ()
 
Line opennn::logging::warning ()
 
Line opennn::logging::info ()
 
Line opennn::logging::debug ()