Added Test environment to environments which display the log entries in the browser console.
This commit is contained in:
parent
72b4c166c8
commit
28b0ddfb0e
1 changed files with 2 additions and 1 deletions
|
|
@ -42,7 +42,8 @@ export class Logger {
|
||||||
// If running locally or in the Dev environment show the log entries in the console.
|
// If running locally or in the Dev environment show the log entries in the console.
|
||||||
if (
|
if (
|
||||||
applicationConfig.CURRENT_ENVIRONMENT === "Localhost" ||
|
applicationConfig.CURRENT_ENVIRONMENT === "Localhost" ||
|
||||||
applicationConfig.CURRENT_ENVIRONMENT === "Dev"
|
applicationConfig.CURRENT_ENVIRONMENT === "Dev" ||
|
||||||
|
applicationConfig.CURRENT_ENVIRONMENT === "Test"
|
||||||
) {
|
) {
|
||||||
console.log(logEntry);
|
console.log(logEntry);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue