Survival Royale
1.0.0
A very simple yet funny card game.
Loading...
Searching...
No Matches
logs_configuration.h
Go to the documentation of this file.
1
// Copyright (C) 2025 Giulio Salvi, Jacopo Paradisi
2
//
3
// This program is free software: you can redistribute it and/or modify
4
// it under the terms of the GNU General Public License as published by
5
// the Free Software Foundation, either version 3 of the License, or
6
// (at your option) any later version.
7
//
8
// This program is distributed in the hope that it will be useful,
9
// but WITHOUT ANY WARRANTY; without even the implied warranty of
10
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11
// GNU General Public License for more details.
12
//
13
// You should have received a copy of the GNU General Public License
14
// along with this program. If not, see <https://www.gnu.org/licenses/>.
15
20
21
#ifndef _LOGS_CONFIGURATION_H_
23
#define _LOGS_CONFIGURATION_H_
24
26
#define fileNameBufferSize 29
27
29
typedef
struct
LogsConfiguration
{
31
char
fileName
[
fileNameBufferSize
];
33
bool
useConsole
;
34
}
LogsConfiguration
;
35
#endif
fileNameBufferSize
#define fileNameBufferSize
The length of the string "logs/dd-MM-yyyy_hh,mm,ss.log", that is the pattern of the filename of every...
Definition
logs_configuration.h:26
LogsConfiguration
The configuration for the logger.
Definition
logs_configuration.h:29
LogsConfiguration::fileName
char fileName[fileNameBufferSize]
The filename path to the log file used in a session. It can be a valid path or an empty string if the...
Definition
logs_configuration.h:31
LogsConfiguration::useConsole
bool useConsole
Flag for the logger to determine if it has to use the console or the log file.
Definition
logs_configuration.h:33
h
logs_configuration.h
Generated by
1.14.0