Atlas Game Manager
A game manager for f95 and dlsite written in c++
Loading...
Searching...
No Matches
atlas::logging Namespace Reference

Namespaces

namespace  internal
 

Classes

class  ConsoleSink
 
class  ConsoleWriter
 
struct  critical
 
struct  debug
 
struct  error
 
struct  errorLoc
 
struct  info
 
struct  warn
 

Typedefs

using ConsoleSinkMT = ConsoleSink< std::mutex >
 
using ConsoleSinkST = ConsoleSink< spdlog::details::null_mutex >
 

Functions

void init ()
 
void setFormat ()
 
std::string formatSourceLocation (const std::source_location loc, const format_ns::string_view msg)
 
void initGUIHooks ()
 Loads the GUI hooks required for some warnings to display to the user.
 
template<typename... Ts>
 debug (format_ns::format_string< Ts... >, Ts &&...) -> debug< Ts... >
 
template<typename... Ts>
 info (format_ns::format_string< Ts... >, Ts &&...) -> info< Ts... >
 
template<typename... Ts>
 warn (format_ns::format_string< Ts... >, Ts &&...) -> warn< Ts... >
 
template<typename... Ts>
 error (format_ns::format_string< Ts... >, Ts &&... a) -> error< Ts... >
 
template<typename... Ts>
 errorLoc (format_ns::format_string< Ts... >, const std::source_location &, Ts &&... a) -> errorLoc< Ts... >
 
template<typename... Ts>
 critical (format_ns::format_string< Ts... >, Ts &&...) -> critical< Ts... >
 
ConsoleWritergetConsoleWriter ()
 

Variables

static ConsoleWriterwriter { nullptr }
 

Typedef Documentation

◆ ConsoleSinkMT

◆ ConsoleSinkST

using atlas::logging::ConsoleSinkST = ConsoleSink< spdlog::details::null_mutex >

Function Documentation

◆ critical()

template<typename... Ts>
atlas::logging::critical ( format_ns::format_string< Ts... > ,
Ts && ... ) -> critical< Ts... >

◆ debug()

template<typename... Ts>
atlas::logging::debug ( format_ns::format_string< Ts... > ,
Ts && ... ) -> debug< Ts... >

◆ error()

template<typename... Ts>
atlas::logging::error ( format_ns::format_string< Ts... > ,
Ts &&... a ) -> error< Ts... >

◆ errorLoc()

template<typename... Ts>
atlas::logging::errorLoc ( format_ns::format_string< Ts... > ,
const std::source_location & ,
Ts &&... a ) -> errorLoc< Ts... >

◆ formatSourceLocation()

std::string atlas::logging::formatSourceLocation ( const std::source_location loc,
const format_ns::string_view msg )

◆ getConsoleWriter()

ConsoleWriter * atlas::logging::getConsoleWriter ( )

◆ info()

template<typename... Ts>
atlas::logging::info ( format_ns::format_string< Ts... > ,
Ts && ... ) -> info< Ts... >

◆ init()

void atlas::logging::init ( )

◆ initGUIHooks()

void atlas::logging::initGUIHooks ( )

Loads the GUI hooks required for some warnings to display to the user.

◆ setFormat()

void atlas::logging::setFormat ( )

◆ warn()

template<typename... Ts>
atlas::logging::warn ( format_ns::format_string< Ts... > ,
Ts && ... ) -> warn< Ts... >

Variable Documentation

◆ writer

ConsoleWriter* atlas::logging::writer { nullptr }
inlinestatic