Austin Schuh | 044e18b | 2015-10-21 20:17:09 -0700 | [diff] [blame] | 1 | #include "aos/common/logging/context.h" |
2 | |||||
3 | #include <string.h> | ||||
4 | |||||
5 | namespace aos { | ||||
6 | namespace logging { | ||||
7 | namespace internal { | ||||
8 | |||||
9 | ::std::atomic<LogImplementation *> global_top_implementation(NULL); | ||||
10 | |||||
11 | Context::Context() | ||||
12 | : implementation(global_top_implementation.load()), | ||||
13 | sequence(0) { | ||||
14 | cork_data.Reset(); | ||||
15 | } | ||||
16 | |||||
17 | } // namespace internal | ||||
18 | } // namespace logging | ||||
19 | } // namespace aos |