]>
Commit | Line | Data |
---|---|---|
1e59de90 TL |
1 | // -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- |
2 | // vim: ts=8 sw=2 smarttab | |
3 | ||
4 | #ifndef ALIEN_LOG_H | |
5 | #define ALIEN_LOG_H | |
6 | ||
7 | #include "log/Log.h" | |
8 | ||
9 | namespace ceph { | |
10 | namespace logging { | |
11 | class SubsystemMap; | |
12 | } | |
13 | } | |
14 | ||
15 | namespace seastar::alien { | |
16 | class instance; | |
17 | } | |
18 | namespace ceph::logging | |
19 | { | |
20 | class CnLog : public ceph::logging::Log | |
21 | { | |
22 | seastar::alien::instance& inst; | |
23 | unsigned shard; | |
24 | void _flush(EntryVector& q, bool crash) override; | |
25 | public: | |
26 | CnLog(const SubsystemMap *s, seastar::alien::instance& inst, unsigned shard); | |
27 | ~CnLog() override; | |
28 | }; | |
29 | } | |
30 | ||
31 | #endif |