Use INITIALIZE_EASYLOGGINGPP in Error.cpp

This commit is contained in:
benrubson 2017-04-22 20:13:02 +02:00 committed by rfjakob
parent fc39c4dd20
commit c270963df8
5 changed files with 2 additions and 8 deletions

View File

@ -1,5 +1,7 @@
#include "Error.h"
INITIALIZE_EASYLOGGINGPP
namespace encfs {
el::base::DispatchAction rlogAction = el::base::DispatchAction::NormalLog;

View File

@ -53,8 +53,6 @@ using namespace std;
using gnu::autosprintf;
using namespace encfs;
INITIALIZE_EASYLOGGINGPP
static int showInfo(int argc, char **argv);
static int showVersion(int argc, char **argv);
static int chpasswd(int argc, char **argv);

View File

@ -58,8 +58,6 @@ using namespace std;
using namespace encfs;
using gnu::autosprintf;
INITIALIZE_EASYLOGGINGPP
namespace encfs {
class DirNode;

View File

@ -31,8 +31,6 @@
using namespace std;
using namespace encfs;
INITIALIZE_EASYLOGGINGPP
void genKey(const std::shared_ptr<Cipher> &cipher) {
CipherKey key = cipher->newRandomKey();

View File

@ -49,8 +49,6 @@
using namespace std;
using namespace encfs;
INITIALIZE_EASYLOGGINGPP
const int FSBlockSize = 256;
static int checkErrorPropogation(const std::shared_ptr<Cipher> &cipher,