File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed
Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -38,6 +38,11 @@ You can find our backwards-compatibility policy [here](https://github.com/hynek/
3838
3939 [ #669 ] ( https://github.com/hynek/structlog/pull/669 )
4040
41+ - The native ` FilteringBoundLogger.fatal() ` method now maps to the critical level, as it does in the standard library.
42+ Note that the level is discouraged to use there, so we recommend to stick to ` error() ` or ` critical() ` .
43+
44+ [ #677 ] ( https://github.com/hynek/structlog/pull/677 )
45+
4146
4247## [ 24.4.0] ( https://github.com/hynek/structlog/compare/24.3.0...24.4.0 ) - 2024-07-17
4348
Original file line number Diff line number Diff line change @@ -202,8 +202,8 @@ async def alog(
202202
203203 meths ["exception" ] = exception
204204 meths ["aexception" ] = aexception
205- meths ["fatal" ] = meths ["error " ]
206- meths ["afatal" ] = meths ["aerror " ]
205+ meths ["fatal" ] = meths ["critical " ]
206+ meths ["afatal" ] = meths ["acritical " ]
207207 meths ["warn" ] = meths ["warning" ]
208208 meths ["awarn" ] = meths ["awarning" ]
209209 meths ["msg" ] = meths ["info" ]
You can’t perform that action at this time.
0 commit comments