Skip to content

Commit

Permalink
Error management rework : way clearer and precise
Browse files Browse the repository at this point in the history
  • Loading branch information
Litarvan committed Feb 16, 2020
1 parent f32d5c4 commit e287599
Show file tree
Hide file tree
Showing 11 changed files with 524 additions and 290 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
.idea/
target/
epilyon.log
epilyon.toml
*.iml
75 changes: 23 additions & 52 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ actix-http = "1.0.1"
actix-web = "2.0.0"
actix-rt = "1.0.0"
log = "0.4.8"
pretty_env_logger = "0.3.1"
fern = { version = "0.5.9", features = ["colored"] }
serde = "1.0.104"
serde_derive = "1.0.104"
serde_json = "1.0.44"
Expand Down
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# Epilyon server

Backend of the Epilyon app -- Keeping EPITA students organized
Backend of the Epilyon app -- Keeping EPITA students organized

## Log format

epilyon.log format is `^\[([^ ]+)] \(([^ ]+)\) \[(\w+)( )?] \[((\w|::)+)] +\| (.+)` for each line (line start is `^\[`),
time group is the 2nd one, severity the 3rd one, category 5th one, message 7th one.
Loading

0 comments on commit e287599

Please sign in to comment.