MCPcopy Create free account
hub / github.com/OpenLoco/OpenLoco / getLogFileName

Function getLogFileName

src/OpenLoco/src/Logging.cpp:24–28  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

22 }
23
24 static std::string getLogFileName()
25 {
26 auto now = std::chrono::system_clock::now();
27 return fmt::format("openloco_{:%Y-%m-%d_%H_%M_%S}.log", std::chrono::floor<std::chrono::seconds>(now));
28 }
29
30 static void cleanupLogFiles(const fs::path& logsFolderPath)
31 {

Callers 1

initializeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected