Skip to content

Commit

Permalink
Try turning echo off
Browse files Browse the repository at this point in the history
  • Loading branch information
ljones140 committed Oct 16, 2024
1 parent ef89a38 commit 22327e4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions providers/logging/insights.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@
const appInsights = require('applicationinsights')

class Insights {
constructor(tattoos, client = null, echo = true) {
constructor(tattoos, client = null, echo = false) {
this.client = client
this.tattoos = tattoos
this.echo = echo
}

static setup(tattoos, key = 'mock', echo = true) {
static setup(tattoos, key = 'mock', echo = false) {
// exit if we are already setup
if (appInsights.defaultClient instanceof Insights) return
if (!key || key === 'mock') appInsights.defaultClient = new Insights(tattoos, null, echo)
Expand Down

0 comments on commit 22327e4

Please sign in to comment.