#ifndef lOGGER_H #define lOGGER_H // This file is part of Motion Watch. // Motion Watch is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. // Motion Watch is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. #include "common.h" void wrLogLine(const QString &line, shared_t *share, QString &body); void recLog(const QString &line, shared_t *share); void detLog(const QString &line, shared_t *share); void dumpLogs(const QString &fileName, const QString &lines); void enforceMaxLogSize(const QString &filePath, shared_t *share); #endif // lOGGER_H