Lugdunum
0.1.0
Main Page
+
Namespaces
Namespace List
+
Namespace Members
+
All
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
+
Functions
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
v
Variables
Typedefs
Enumerations
Enumerator
+
Classes
Class List
Class Index
Class Hierarchy
+
Class Members
+
All
:
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
~
+
Functions
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
u
v
w
~
+
Variables
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
v
w
x
y
Typedefs
Enumerations
+
Related Functions
:
b
c
d
g
l
p
s
w
+
Files
File List
+
File Members
+
All
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
u
v
w
+
Functions
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
u
+
Macros
d
f
l
n
s
v
w
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
include
lug
System
Logger
LogCatHandler.hpp
Go to the documentation of this file.
1
#pragma once
2
3
#include <android/log.h>
4
#include <
lug/System/Logger/Handler.hpp
>
5
6
namespace
lug
{
7
namespace
System {
8
namespace
Logger {
9
10
class
LUG_SYSTEM_API
LogCatHandler
:
public
Handler
{
11
public
:
12
LogCatHandler
(
const
std::string& name);
13
14
LogCatHandler
(
const
LogCatHandler
&) =
delete
;
15
LogCatHandler
(
LogCatHandler
&&) =
delete
;
16
17
LogCatHandler
& operator=(
const
LogCatHandler
&) =
delete
;
18
LogCatHandler
& operator=(
LogCatHandler
&&) =
delete
;
19
20
~
LogCatHandler
() =
default
;
21
22
private
:
23
void
handle(
const
priv::Message& msg);
24
void
flush();
25
26
android_LogPriority lugLevelToLogCatPrio(
Level
level);
27
};
28
29
}
// Logger
30
}
// System
31
}
// lug
Handler.hpp
lug::System::Logger::Handler
Definition:
Handler.hpp:15
LUG_SYSTEM_API
#define LUG_SYSTEM_API
Definition:
Export.hpp:11
lug::System::Logger::LogCatHandler
Definition:
LogCatHandler.hpp:10
lug::System::Logger::Level
Level
Definition:
Common.hpp:35
lug
Definition:
Application.hpp:11
Generated by
1.8.13