Cogs.Foundation
Loading...
Searching...
No Matches
Classes | Namespaces | Functions
LogManager.cpp File Reference
#include "LogManager.h"
#include "Consumer.h"
#include "Logger.h"
#include "../HashFunctions.h"
#include "../Platform/Atomic.h"
#include <cstdio>
#include <set>
#include <cxxabi.h>
#include <dlfcn.h>
#include <errno.h>
#include <pthread.h>
#include <signal.h>
#include <stdint.h>
#include <unistd.h>
#include <unwind.h>

Classes

struct  Cogs::Logging::BacktraceState
 

Namespaces

namespace  Cogs
 Main Cogs namespace.
 
namespace  Cogs::Logging
 Contains logging functionality for the Cogs native library.
 

Functions

void Cogs::Logging::consumeMessage (const char *source, Category category, uint32_t errorNumber, const char *filename, int lineNumber, _Printf_format_string_ const char *fmt, va_list argptr)
 Forwards the incoming log message to all interested consumers.
 
_Unwind_Reason_Code Cogs::Logging::unwindCallback (struct _Unwind_Context *context, void *arg)
 
void Cogs::Logging::printFrame (void *address)
 
void Cogs::Logging::signalHandler (int sig)