Skip to content

Commit

Permalink
Merge pull request Canadian-Geospatial-Platform#1715 from Alex-NRCan/…
Browse files Browse the repository at this point in the history
…feat-logger-color

Logger using green for MARKR now (Canadian-Geospatial-Platform#1715)
  • Loading branch information
jolevesq authored Jan 23, 2024
2 parents c32e3a9 + b56d02d commit a45398f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/geoview-core/src/core/utils/logger.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ const formatTime = (date: Date): string => {
type ColorCode = {
darkorange: string;
dodgerblue: string;
tomato: string;
yellowgreen: string;
green: string;
plum: string;
turquoise: string;
Expand Down Expand Up @@ -227,7 +227,7 @@ export class ConsoleLogger {
if (hours) logMsg = `${hours} hours, ${mins} minutes, ${seconds} seconds, and ${timeSpan} ms`;

// Redirect
this.logLevel(LOG_DEBUG, 'MARKR', 'tomato', logMsg, ...message, `(${markerKey})`); // Not a typo, 5 characters for alignment
this.logLevel(LOG_DEBUG, 'MARKR', 'yellowgreen', logMsg, ...message, `(${markerKey})`); // Not a typo, 5 characters for alignment
};

/**
Expand Down

0 comments on commit a45398f

Please sign in to comment.