This commit is contained in:
2024-11-28 18:30:27 +08:00
parent b2eec437cd
commit e04a960777
6 changed files with 17 additions and 17 deletions

View File

@@ -1,7 +1,7 @@
#include "logging.h"
int main() {
Logger *logger = newDefaultLogger("testLogger", LOG_DEBUG);
Logger *logger = newDefaultLogger(__FILE__, LOG_DEBUG);
log_info("This is an info message");
log_error("This is an error message%s", "123");