Skip to content

Commit

Permalink
Merge pull request #5 from savi-lang/update/latest-savi
Browse files Browse the repository at this point in the history
Update for breaking changes in Savi `v0.20230130.0`.
  • Loading branch information
jemc authored Jan 31, 2023
2 parents 1a63c01 + 46b51ac commit b35f178
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Logger.Formatter.savi
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@
:fun log_format_trace(m, t, pos SourceCodePosition): @_format("TRACE ", m, t)

:fun non _format(kind String, message String, time Time) String
out = String.new_iso(message.size + 6 + 26)
out = String.new(message.size + 6 + 26)
out << kind
out = Time.Formatter.new("%Y-%m-%d %H:%M:%S.%3N | ").format(time, --out)
Time.Formatter.new("%Y-%m-%d %H:%M:%S.%3N | ").format(time, out)
out << message
--out
out.take_buffer

0 comments on commit b35f178

Please sign in to comment.