Use ByteSize helper
This commit is contained in:
@@ -4,6 +4,7 @@
|
||||
* file, You can obtain one at https://mozilla.org/MPL/2.0/.
|
||||
*/
|
||||
|
||||
#include "Math/ByteSize.hpp"
|
||||
#include "Logger.hpp"
|
||||
#include <iostream>
|
||||
#include <filesystem>
|
||||
@@ -18,7 +19,8 @@
|
||||
|
||||
namespace openVulkanoCpp
|
||||
{
|
||||
constexpr size_t MAX_LOG_FILE_SIZE = 1024 * 1024 * 512;
|
||||
|
||||
constexpr size_t MAX_LOG_FILE_SIZE = 512_MiB;
|
||||
constexpr size_t MAX_LOG_FILE_COUNT = 3;
|
||||
|
||||
std::vector<spdlog::sink_ptr> Logger::SINKS;
|
||||
|
||||
Reference in New Issue
Block a user