blob: 03c2097267f4fb236bc22ca7271261d3e3d13ccc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
#include <deimos/core/api_registry.h>
#include <deimos/core/log.h>
using namespace deimos;
int main(int /* argc */, char* /* argv */[])
{
auto* api_registry = InitializeGlobalApiRegistry();
auto* log_api = api_registry->Get<LogApi>();
log_api->LogInfo("Hello, world!");
log_api->LogDebug("Hello, $!", "world");
log_api->LogError("This is an error OMG $ $ $", 1, 2, 3);
return 0;
}
|