remove logging to file

added some doc
This commit is contained in:
2020-04-30 12:16:29 +02:00
parent 7cf8e965b0
commit 9d33964b93
7 changed files with 16 additions and 40 deletions

View File

@ -1,17 +1,13 @@
//
// Created by lukas on 05.05.19.
//
#pragma once
#include <string>
class FileLogger {
public:
/**
* log messages to logfile
* @param text message
*/
void logToLogfile(std::string text);
/**
* safe ip to temp file
* @param ip ip address to save

View File

@ -12,5 +12,11 @@ public:
void checkIPAdress(bool force);
IPRefresher();
/**
* start the service in loop mode
* every 5 minutes the ip is checked an refreshed (needed for .service)
* @param loop true->loopmode on
*/
explicit IPRefresher(bool loop);
};

View File

@ -13,7 +13,7 @@ public:
static void warning(std::string message);
static void error(std::string message);
static void log(std::string &message, int level);
static void log(const std::string &message, int level);
static const int Debug;
static const int Message;