Tramway SDK
Namespaces | Enumerations | Functions
logging.h File Reference
#include <framework/core.h>
#include <framework/uid.h>
#include <framework/system.h>
#include <concepts>

Go to the source code of this file.

Namespaces

namespace  tram
 
namespace  tram::implementation
 

Enumerations

enum  tram::Severity {
  tram::SEVERITY_INFO , tram::SEVERITY_WARNING , tram::SEVERITY_ERROR , tram::SEVERITY_CRITICAL_ERROR ,
  tram::SEVERITY_DEFAULT
}
 

Functions

template<typename T >
void tram::implementation::concat (const T &value)
 
template<>
void tram::implementation::concat (const std::string_view &value)
 
template<>
void tram::implementation::concat (const std::string &value)
 
template<>
void tram::implementation::concat (const char *const &value)
 
template<>
void tram::implementation::concat (const UID &value)
 
template<typename T >
void tram::implementation::concat_numeric (const T &value)
 
template<>
void tram::implementation::concat_numeric (const int64_t &value)
 
template<>
void tram::implementation::concat_numeric (const uint64_t &value)
 
template<>
void tram::implementation::concat_numeric (const float &value)
 
void tram::implementation::concat_fmt (std::string_view &str)
 
void tram::implementation::flush_console (int severity, int system)
 
void tram::implementation::flush_callback (int severity, int system)
 
void tram::implementation::log (void(*flush)(int, int), int severity, int system, std::string_view &format)
 
template<typename T , typename... Args>
void tram::implementation::log (void(*flush)(int, int), int severity, int system, std::string_view &format, T value, Args &&... args)
 
void tram::SetSystemLoggingSeverity (System::system_t system, Severity min_severity)
 
void tram::SetLogCallback (void(int, const char *))
 
template<typename... Args>
void tram::Log (int severity, int system, const std::string_view &format, Args &&... args)
 
template<typename... Args>
void tram::Log (int system, const std::string_view &format, Args &&... args)
 
template<typename... Args>
void tram::Log (const std::string_view &format, Args &&... args)
 
template<typename... Args>
void tram::DisplayLog (int time, const std::string_view &format, Args &&... args)