client-cpp
0.10.0
|
The helper class which is used to transfer logs from LogStorage
to LogCollector
.
More...
#include <LogBucket.hpp>
Public Member Functions | |
LogBucket () | |
Constructs empty LogBucket object. More... | |
LogBucket (std::int32_t id, std::list< LogRecord > &&records) | |
Constructs LogBucket object. More... | |
LogBucket (std::int32_t id, const std::list< LogRecord > &records) | |
Constructs LogBucket object. More... | |
std::int32_t | getBucketId () const |
Returns a log bucket id. More... | |
std::list< LogRecord > & | getRecords () |
Returns log records of the bucket. More... | |
The helper class which is used to transfer logs from LogStorage
to LogCollector
.
Definition at line 33 of file LogBucket.hpp.
|
inline |
Constructs empty LogBucket
object.
Definition at line 39 of file LogBucket.hpp.
|
inline |
Constructs LogBucket
object.
[in] | id | The unique log bucket id. |
[in] | records | Log records. |
Definition at line 47 of file LogBucket.hpp.
|
inline |
Constructs LogBucket
object.
[in] | id | The unique log bucket id. |
[in] | records | Log records. |
Definition at line 56 of file LogBucket.hpp.
|
inline |
Returns a log bucket id.
A log bucket id should be unique across all available buckets.
Definition at line 66 of file LogBucket.hpp.
|
inline |
Returns log records of the bucket.
Definition at line 75 of file LogBucket.hpp.