Workspace 6.21.5
|
#include <Distributed/mongodblogsink.h>
Public Member Functions | |
MongoDBLogSink () | |
MongoDBLogSink (const MongoDBLogSink &)=delete | |
~MongoDBLogSink () override | |
void | addLog (DataExecution::DistributedLogPackage &log) override |
void | configure (const QMap< QString, QString > &values) override |
QList< Configuration > | getConfigureParameters () const override |
QString | getDescription () const override |
QString | getName () const override |
MongoDBLogSink & | operator= (const MongoDBLogSink &)=delete |
Public Member Functions inherited from DistributedLogSink | |
DistributedLogSink ()=default | |
DistributedLogSink (const DistributedLogSink &)=delete | |
virtual | ~DistributedLogSink ()=0 |
virtual void | addLog (DistributedLogPackage &log)=0 |
virtual void | configure (const QMap< QString, QString > &values)=0 |
virtual QList< Configuration > | getConfigureParameters () const =0 |
virtual QString | getDescription () const |
bool | getEnabled () const |
virtual QString | getName () const =0 |
DistributedLogSink & | operator= (const DistributedLogSink &)=delete |
void | setEnabled (bool val) |
Static Public Attributes | |
static const char *const | envOverrideDbName = "WORKSPACE_TEST_OVERRIDE_MONGODBLOGSINK_DB_NAME" |
Static Public Attributes inherited from DistributedLogSink | |
static const QString | keyEnabled = ":enabled" |
static const QString | typeBool = "bool" |
static const QString | typeSelect = "select" |
static const QString | typeText = "text" |
static const QString | valueFalse = "false" |
static const QString | valueTrue = "true" |
Additional Inherited Members | |
Protected Attributes inherited from DistributedLogSink | |
bool | enabled_ {false} |
Writes DistributedLogPackage to MongoDB database.
MongoDBLogSink | ( | ) |
|
override |
|
delete |
|
overridevirtual |
Implements DistributedLogSink.
|
overridevirtual |
Implements DistributedLogSink.
|
overridevirtual |
Implements DistributedLogSink.
|
overridevirtual |
Reimplemented from DistributedLogSink.
|
overridevirtual |
Implements DistributedLogSink.
|
delete |
|
static |