Joedb
10.3.0
The Journal-Only Embedded Database
Loading...
Searching...
No Matches
src
joedb
error
Android_Logger.cpp
Go to the documentation of this file.
1
#include "
joedb/error/Android_Logger.h
"
2
#include <android/log.h>
3
4
namespace
joedb
5
{
6
////////////////////////////////////////////////////////////////////////////
7
Android_Logger::Android_Logger
(std::string tag): tag(std::move(tag))
8
{
9
}
10
11
////////////////////////////////////////////////////////////////////////////
12
void
Android_Logger::log
(
const
std::string &message)
noexcept
13
{
14
__android_log_print(ANDROID_LOG_INFO, tag.c_str(),
"%s"
, message.c_str());
15
}
16
}
Android_Logger.h
joedb::Android_Logger::Android_Logger
Android_Logger(std::string tag)
Definition
Android_Logger.cpp:7
joedb::Android_Logger::log
void log(const std::string &message) noexcept override
Definition
Android_Logger.cpp:12
joedb
Definition
Server.cpp:10
Generated by
1.9.8