@athenna/logger 1.2.9 → 1.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/index.js +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@athenna/logger",
3
- "version": "1.2.9",
3
+ "version": "1.3.0",
4
4
  "description": "The Athenna logging solution. Log in stdout, files and buckets.",
5
5
  "license": "MIT",
6
6
  "author": "João Lenon <lenon@athenna.io>",
package/src/index.js CHANGED
@@ -164,7 +164,7 @@ export class Logger {
164
164
  return args[0]
165
165
  }
166
166
 
167
- let content = format(...args)
167
+ let content = format(...args.filter(arg => arg !== undefined))
168
168
 
169
169
  const matches = content.match(/\({(.*?)} (.*?)\)/g)
170
170