Tramway SDK
Namespaces | Functions | Variables
logging.cpp File Reference

Logging and console printing services. More...

#include <framework/logging.h>
#include <framework/system.h>
#include <platform/other.h>
#include <cstring>
#include <charconv>
#include <iostream>
#include <vector>

Namespaces

namespace  tram
 Serialization, i.e.
 
namespace  tram::implementation
 

Functions

void tram::SetSystemLoggingSeverity (System::system_t system, Severity min_severity)
 Sets the logging severity filter. More...
 
void tram::SetDisplayLogCallback (void(*callback)(int, const char *))
 Sets the display log callback. More...
 
void tram::SetConsoleLogCallback (void(*callback)(int, const char *))
 Sets the console log callback. More...
 
void tram::implementation::concat_fmt (std::string_view &str)
 
void tram::implementation::flush_console (Severity severity, System::system_t system)
 
void tram::implementation::flush_display (int time, int system)
 
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)
 
void tram::implementation::concat (const char *value)
 
template<>
void tram::implementation::concat (const UID &value)
 
template<typename T >
void tram::implementation::to_chars_concat (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)
 

Variables

char tram::implementation::buffer [500] = {'\0'}
 

Detailed Description

Logging and console printing services.

See also
https://racenis.github.io/tram-sdk/documentation/framework/logging.html