File tree Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Original file line number Diff line number Diff line change
1
+ # 1.4.0
2
+ This new release introduces:
3
+ * Add ` DeferExitHandler ` , similar to ` RegisterExitHandler ` but prepending the handler to the list of handlers (semantically like ` defer ` ) (#848 ).
4
+ * Add ` CallerPrettyfier ` to ` JSONFormatter ` and `TextFormatter (#909 , #911 )
5
+ * Add ` Entry.WithContext() ` and ` Entry.Context ` , to set a context on entries to be used e.g. in hooks (#919 ).
6
+
7
+ Fixes:
8
+ * Fix wrong method calls ` Logger.Print ` and ` Logger.Warningln ` (#893 ).
9
+ * Update ` Entry.Logf ` to not do string formatting unless the log level is enabled (#903 )
10
+ * Fix infinite recursion on unknown ` Level.String() ` (#907 )
11
+ * Fix race condition in ` getCaller ` (#916 ).
12
+
13
+
1
14
# 1.3.0
2
15
This new release introduces:
3
16
* Log, Logf, Logln functions for Logger and Entry that take a Level
You can’t perform that action at this time.
0 commit comments