Skip to content

Commit

Permalink
Logster v2
Browse files Browse the repository at this point in the history
  • Loading branch information
navinpeiris committed Jul 26, 2023
1 parent d4d8629 commit e958bb4
Show file tree
Hide file tree
Showing 17 changed files with 1,542 additions and 279 deletions.
14 changes: 14 additions & 0 deletions .cspell.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"version": "0.2",
"language": "en",
"ignorePaths": [
"/.git/",
"/cover/",
"/deps/",
"/mix.lock"
],
"words": [
"logfmt",
"loggable"
]
}
13 changes: 13 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,16 @@
# 2.0.0

## Changes

- Attach with `Logster.attach_phoenix_logger()`
- Changes to set option:
- state=set => state=sent <- TODO: NEED TESTS
- state=set_chunked => state=chunked <- TODO: NEED TESTS
- allowed_headers changed to headers
- renames from plug to config
- formatter from plug to config
- overriding status messages. Show how to show custom error levels for warning and error

# 1.1.0

- By default logs responses with 5xx status code with error level and 4xx responses with warning level.
Expand Down
Loading

0 comments on commit e958bb4

Please sign in to comment.