TString GetTarget()
get target of the current target
bool GetIsActive()
get is active of the current target
int SetTarget(TString target)
set target of the current target
static int DeleteTarget(TString target)
delete target from the database
static int PrintAll()
print all targets
static int CheckTargetExists(TString target)
check target exists in the database: 1- true, 0 - false, <0 - database operation error
static ElogTarget * CreateTarget(TString target, bool is_active)
add new target to the database
int SetIsActive(bool is_active)
set is active of the current target
void Print()
print information about current target