DynuIPRefresher/inc/FileLogger.h

28 lines
422 B
C
Raw Normal View History

2019-10-26 12:41:43 +00:00
//
// 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
*/
void safeip(std::string ip);
/**
* read ip from file
* @return read ip
*/
std::string readip();
};