From 906cc25a6a7f08aebe13397e0dbbbbeefaa7794d Mon Sep 17 00:00:00 2001 From: Akmot9 Date: Tue, 8 Aug 2023 00:03:34 +0200 Subject: [PATCH 1/2] forgot to change the version --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 255c63d..9cbad6a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "my_logger" -version = "0.1.2" +version = "0.1.3" authors = ["akmot9 avicocyprien@yahoo.com"] edition = "2018" description = "A simple marco to do logging in a file.log" From 7b220cbc5c4dfa3aae224bbd9763a0f8525590d2 Mon Sep 17 00:00:00 2001 From: Akmot9 Date: Tue, 8 Aug 2023 00:04:52 +0200 Subject: [PATCH 2/2] forgot to save --- README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/README.md b/README.md index 6c8693f..0426900 100644 --- a/README.md +++ b/README.md @@ -27,3 +27,8 @@ fn main() { ``` The log messages will be written to a file named "file.log" in the current directory, and each log entry will include a timestamp. +## Exemple +The log file (file.log) will contain a line like this: +```log +[2023-08-07 21:55:28.310429743 UTC] error: Something went wrong! +``````