Logging uses ISO8601 instead of Unix Millis

This commit is contained in:
2026-01-04 19:38:05 +01:00
parent 154296bcdc
commit 4609e85ca9
3 changed files with 47 additions and 4 deletions

View File

@@ -29,6 +29,9 @@ namespace ColumnLynx {
}
namespace ColumnLynx::Utils {
// Converts unix milliseconds to a local ISO 8601 formatted string; Defaults to local time; Will use UTC if local is false.
std::string unixMillisToISO8601(uint64_t unixMillis, bool local = true);
// General log function. Use for logging important information.
void log(const std::string &msg);
// General warning function. Use for logging important warnings.