chore: rename log-sink to log-sink-cout
This commit is contained in:
@@ -11,6 +11,9 @@ class ConOutSink : public ILogSink
|
||||
public:
|
||||
virtual void receiveLog(LogType type, std::string_view loggerName, std::string_view msg) override
|
||||
{
|
||||
#ifndef _DEBUG
|
||||
if (type == LogType::VERBOSE) return;
|
||||
#endif
|
||||
std::cout << "[" << loggerName << "] " << seallib::getLogTypeColor(type) << "["
|
||||
<< seallib::getLogTypeName(type) << "]"
|
||||
<< "\x1b[0m " << msg << std::endl;
|
||||
@@ -2,7 +2,7 @@
|
||||
#include "tray-icon.h"
|
||||
#include "utils.h"
|
||||
#include "spoofer.h"
|
||||
#include "log-sink.h"
|
||||
#include "log-sink-cout.h"
|
||||
#include "proxy-configurator.h"
|
||||
#include "cache-cleaner.h"
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#include "proxy-configurator.h"
|
||||
|
||||
#include "win-platform.h"
|
||||
#include "log-sink.h"
|
||||
#include "log-sink-cout.h"
|
||||
|
||||
#include <minwinbase.h>
|
||||
#include <wininet.h>
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
#include "spoofer.h"
|
||||
#include "utils.h"
|
||||
#include "log-sink.h"
|
||||
#include "log-sink-cout.h"
|
||||
|
||||
#include <regex>
|
||||
#include <map>
|
||||
|
||||
Reference in New Issue
Block a user