Skip to content

Commit

Permalink
[nop] Housekeeping
Browse files Browse the repository at this point in the history
  • Loading branch information
ptaoussanis committed Oct 28, 2024
1 parent 536e8e3 commit e7afe12
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Uses [Break Versioning](https://www.taoensso.com/break-versioning).

This is a significant **feature** release that includes new **built-in support** for [Java logging interop via SLF4J](https://github.com/taoensso/timbre/wiki/4-Interop#java-logging).

Big thanks to @fzakaria for their long-time work on Timbre's [previous optional SLF4J interop](https://github.com/fzakaria/slf4j-timbre) 🙏
Big thanks to @fzakaria and @rufoa for their long-time work on Timbre's [previous optional SLF4J interop](https://github.com/fzakaria/slf4j-timbre) 🙏

As always, feedback and bug reports very welcome! - [Peter Taoussanis](https://www.taoensso.com)

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ See [here][GitHub releases] for earlier releases.
## Documentation

- [Wiki][GitHub wiki] (getting started, usage, etc.)
- API reference: [cljdoc][cljdoc docs], [Codox][Codox docs]
- API reference: [Codox][Codox docs]

## Funding

Expand Down
2 changes: 1 addition & 1 deletion src/taoensso/timbre/appenders/community/sentry.clj
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
(cond-> context
(and ?ex-data (not (contains? context :ex-data)))
(assoc :ex-data
(enc/get-substr-by-idx (str ?ex-data) 0 4096)))
(enc/substr (str ?ex-data) 0 4096)))

event
(as-> base-event event
Expand Down
8 changes: 4 additions & 4 deletions src/taoensso/timbre/appenders/postal.clj
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@
(str/replace #"\s+" " "))]

(if (and max-len (> (count s) ^long max-len))
(str (enc/get-substr-by-len s 0 (- ^long max-len 3)) "...")
(do s))))
(str (enc/substr s 0 (- ^long max-len 3)) "...")
(do s))))

(comment
(default-subject-fn {:max-len 8} "sdfghsjhfdg shj
Expand All @@ -40,8 +40,8 @@ sdf"))
[{:type "text/plain; charset=utf-8"
:content
(if max-len
(enc/get-substr-by-len s 0 max-len)
(do s))}]))
(enc/substr s 0 max-len)
(do s))}]))

(defn postal-appender
"Returns a Postal email appender.
Expand Down

0 comments on commit e7afe12

Please sign in to comment.