SmartEngine
1.6.0
Native
Library
API
Log.h
1
// Copyright (C) Entropy Software LLC - All Rights Reserved
2
3
#pragma once
4
5
#include "Defines.h"
6
#include "Utilities.h"
7
8
namespace
SmartEngine
9
{
10
11
enum class
LogLevel
12
{
16
Info,
17
21
Warning,
22
26
Error,
27
28
Count
29
};
30
SMARTENGINE_ENUM_STRING(
LogLevel
,
"Info"
,
"Warning"
,
"Error"
);
31
33
typedef
void (SMARTENGINE_CALLBACK *LogHandler)(
int
level,
const
char
* str);
35
36
extern
"C"
37
{
41
SMARTENGINE_EXPORT
void
SetLogHandler
(LogHandler handler);
42
}
43
44
}
// namespace SmartEngine
SmartEngine::LogLevel::Info
@ Info
Diagnostic or informational messages
SmartEngine
Definition:
A2CTrainer.h:10
SmartEngine::LogLevel
LogLevel
Definition:
Log.h:12
SmartEngine::SetLogHandler
SMARTENGINE_EXPORT void SetLogHandler(LogHandler handler)
Used to set the handler for log output from the SmartEngine AI plugin
Generated by
1.8.20