Skip to content

Commit

Permalink
break types on purpose
Browse files Browse the repository at this point in the history
  • Loading branch information
Andarist committed Jul 10, 2024
1 parent 4e2e642 commit b616767
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions packages/shared/src/logger.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,14 +54,14 @@ class Logger {

// This should be called with the name once at the entry point.
// For example, with the Playwright plugin, it is called in the Reporter interface constructor.
initialize(app: string, version: string | undefined) {
if (this.initialized) {
console.warn(`Logger already initialized.`);
}

this.initialized = true;
this.grafana = this.initGrafana(app, version);
}
// initialize(app: string, version: string | undefined) {
// if (this.initialized) {
// console.warn(`Logger already initialized.`);
// }

// this.initialized = true;
// this.grafana = this.initGrafana(app, version);
// }

private initGrafana(app: string, version: string | undefined) {
const lokiTransport = new LokiTransport({
Expand Down

0 comments on commit b616767

Please sign in to comment.