MCPcopy Create free account
hub / github.com/SergiusTheBest/plog / main

Function main

samples/Android/AndroidNative/Main.cpp:10–23  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8#include <plog/Appenders/AndroidAppender.h>
9
10int main()
11{
12 static plog::AndroidAppender<plog::TxtFormatter> androidAppender("app");
13 plog::init(plog::verbose, &androidAppender);
14
15 PLOG_VERBOSE << "This is a VERBOSE message";
16 PLOG_DEBUG << "This is a DEBUG message";
17 PLOG_INFO << "This is an INFO message";
18 PLOG_WARNING << "This is a WARNING message";
19 PLOG_ERROR << "This is an ERROR message";
20 PLOG_FATAL << "This is a FATAL message";
21
22 return 0;
23}

Callers

nothing calls this directly

Calls 1

initFunction · 0.85

Tested by

no test coverage detected