mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-07-19 20:19:18 +02:00
Konwersja na UTF-8
Konwersja na UTF-8 Konwersja na UTF-8 Konwersja na UTF-8 Konwersja na UTF-8 Konwersja do UTF-8 Konwersja na UTF-8 Konwersja na UTF-8 Konwersja na UTF-8
This commit is contained in:
10
Logs.cpp
10
Logs.cpp
@@ -12,9 +12,9 @@ http://mozilla.org/MPL/2.0/.
|
||||
|
||||
#include "Globals.h"
|
||||
|
||||
std::ofstream output; // standardowy "log.txt", mo¿na go wy³¹czyæ
|
||||
std::ofstream errors; // lista b³êdów "errors.txt", zawsze dzia³a
|
||||
std::ofstream comms; // lista komunikatow "comms.txt", mo¿na go wy³¹czyæ
|
||||
std::ofstream output; // standardowy "log.txt", można go wyłączyć
|
||||
std::ofstream errors; // lista błędów "errors.txt", zawsze działa
|
||||
std::ofstream comms; // lista komunikatow "comms.txt", można go wyłączyć
|
||||
|
||||
char endstring[10] = "\n";
|
||||
|
||||
@@ -71,7 +71,7 @@ void WriteLog(const char *str, bool newline)
|
||||
};
|
||||
|
||||
void ErrorLog(const char *str)
|
||||
{ // Ra: bezwarunkowa rejestracja powa¿nych b³êdów
|
||||
{ // Ra: bezwarunkowa rejestracja poważnych błędów
|
||||
if (!errors.is_open())
|
||||
{
|
||||
errors.open("errors.txt", std::ios::trunc);
|
||||
@@ -110,7 +110,7 @@ void WriteLog(const std::string &str, bool newline)
|
||||
};
|
||||
|
||||
void CommLog(const char *str)
|
||||
{ // Ra: warunkowa rejestracja komunikatów
|
||||
{ // Ra: warunkowa rejestracja komunikatów
|
||||
WriteLog(str);
|
||||
/* if (Global::iWriteLogEnabled & 4)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user