Skip to content

Releases: 1xtr/moleculer-elasticsearch-logger

v1.0.5

05 Apr 20:39
Compare
Choose a tag to compare
  • Added 2 spaces for JSON.stringify in objectPrinter function

v1.0.4

01 Mar 17:13
Compare
Choose a tag to compare
  • Added replacer function for JSON stringify

v1.0.3

11 Oct 09:46
Compare
Choose a tag to compare

Allow only error and fatal from broker

v1.0.2

07 Oct 12:46
Compare
Choose a tag to compare

Added logging error to console

if (res.errors) {
            console.info(`Logs are uploaded to ELK server, but has errors: ${res.errors}`)
            const errorDocs = res.items.filter((doc) => doc.index.status > 300)
            console.log({ errorDocs: JSON.stringify(errorDocs, null, 2) })
          }

v1.0.1

05 Oct 12:44
Compare
Choose a tag to compare
  • objectPrinter function changed to JSON.stringify(o, null, 2)

v1.0.0

05 Oct 07:29
Compare
Choose a tag to compare

Logger created
For more information check README.md