NarcEngine
0.1.1
C++ Vulkan game engine
Loading...
Searching...
No Matches
NarcLog.h
1
#pragma once
2
3
#define NARCLOG_FATAL(message) throw narclog::FatalException(message)
4
#define NARCLOG_ERROR(message) throw narclog::ErrorException(message)
5
#define NARCLOG_WARNING(message) narclog::log(WARNING, message)
6
#define NARCLOG_INFO(message) narclog::log(INFO, message)
7
#define NARCLOG_DEBUG(message) narclog::log(DEBUG, message)
8
9
#include "pch.h"
10
11
#include "Core.h"
12
13
#include "keywords/KeyWords.h"
14
#include "keywords/LogLevel.h"
15
16
#include "exceptions/ErrorException.h"
17
#include "exceptions/FatalException.h"
18
19
#include "exceptions/ExceptionHandlerBuilder.h"
20
#include "exceptions/MethodExceptionHandler.h"
21
22
namespace
narclog
23
{
24
NARCLOG_API
void
createLogger();
25
NARCLOG_API
void
destroyLogger();
26
27
template
<LogConcept TMsg>
28
NARCLOG_API
void
log(LogLevel level, TMsg message);
29
}
narc_engine
core
narclog
include
NarcLog.h
Generated on Tue Mar 25 2025 13:27:02 for NarcEngine by
1.13.2