Skip to content

Commit

Permalink
Merge branch 'dev'
Browse files Browse the repository at this point in the history
  • Loading branch information
Akmot9 committed Aug 7, 2023
2 parents f3128ad + 7b220cb commit 9151a40
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -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"
Expand Down
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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!
``````

0 comments on commit 9151a40

Please sign in to comment.