Add option "-l, --log-file=FILE" and stub for option "-S, --syslog".

This commit is contained in:
XMRig 2017-06-23 03:12:46 +03:00
parent 1bfbc97c7d
commit c1b3802590
3 changed files with 31 additions and 1 deletions

View file

@ -57,6 +57,8 @@ public:
inline bool isReady() const { return m_ready; }
inline bool keepAlive() const { return m_keepAlive; }
inline bool nicehash() const { return m_nicehash; }
inline bool syslog() const { return m_syslog; }
inline const char *logFile() const { return m_logFile; }
inline const char *pass() const { return m_pass; }
inline const char *user() const { return m_user; }
inline const Url *backupUrl() const { return m_backupUrl; }
@ -98,6 +100,8 @@ private:
bool m_nicehash;
bool m_ready;
bool m_safe;
bool m_syslog;
char *m_logFile;
char *m_pass;
char *m_user;
int m_algo;