Skip to content

Commit

Permalink
Merge branch 'release/v0.20.6'
Browse files Browse the repository at this point in the history
  • Loading branch information
holtwick committed May 2, 2024
2 parents cf95a4f + 9a4a4ce commit e25378f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "zeed",
"type": "module",
"version": "0.20.5",
"version": "0.20.6",
"description": "🌱 Simple foundation library",
"author": {
"name": "Dirk Holtwick",
Expand Down
8 changes: 1 addition & 7 deletions src/common/log/log-memory.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,7 @@ export function LoggerMemoryHandler(

msg.timestamp ??= getTimestamp()

const m = objectPlain(msg, {
maxDepth,
errorTrace,
filter(obj) {
return !Object.hasOwn(obj, '__SENTRY__')
},
})
const m = objectPlain(msg, { maxDepth, errorTrace })

if (compact === true)
(messages as LogMessageCompact[]).push([m.timestamp, m.level, m.name, ...m.messages])
Expand Down

0 comments on commit e25378f

Please sign in to comment.