|
dEngine
Simple 2D C++ game engine
|
#include "../../include/Utils/NanoLog.h"#include <cstring>#include <chrono>#include <ctime>#include <thread>#include <tuple>#include <atomic>#include <queue>#include <fstream>Classes | |
| struct | nanolog::BufferBase |
| struct | nanolog::SpinLock |
| class | nanolog::RingBuffer |
| struct | nanolog::RingBuffer::Item |
| class | nanolog::Buffer |
| struct | nanolog::Buffer::Item |
| class | nanolog::QueueBuffer |
| class | nanolog::FileWriter |
| class | nanolog::NanoLogger |
Namespaces | |
| nanolog | |
| Namespace consiting of the nanolog logger This logger is a third party application that was added to this project to help facilitate logging. | |
Typedefs | |
| typedef std::tuple< char, uint32_t, uint64_t, int32_t, int64_t, double, NanoLogLine::string_literal_t, char *> | nanolog::SupportedTypes |
Functions | |
| char const * | nanolog::to_string (LogLevel loglevel) |
| template<typename Arg > | |
| char * | nanolog::decode (std::ostream &os, char *b, Arg *dummy) |
| template<> | |
| char * | nanolog::decode (std::ostream &os, char *b, NanoLogLine::string_literal_t *dummy) |
| template<> | |
| char * | nanolog::decode (std::ostream &os, char *b, char **dummy) |
| void | nanolog::initialize (NonGuaranteedLogger ngl, std::string const &log_directory, std::string const &log_file_name, uint32_t log_file_roll_size_mb) |
| void | nanolog::initialize (GuaranteedLogger gl, std::string const &log_directory, std::string const &log_file_name, uint32_t log_file_roll_size_mb) |
| void | nanolog::set_log_level (LogLevel level) |
| bool | nanolog::is_logged (LogLevel level) |
Variables | |
| std::unique_ptr< NanoLogger > | nanolog::nanologger |
| std::atomic< NanoLogger *> | nanolog::atomic_nanologger |
| std::atomic< unsigned int > | nanolog::loglevel = {0} |
1.8.13