Skip to content

Commit

Permalink
console.log turned OFF
Browse files Browse the repository at this point in the history
  • Loading branch information
RFbkak37y3kIY committed Sep 23, 2022
1 parent d237a00 commit 1e7de9d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ import { environment } from './environments/environment';
if (environment.production) {
enableProdMode();
}
console.log = () => { };
console.error = () => { };
console.info = () => { };
console.warn = () => { };

platformBrowserDynamic().bootstrapModule(AppModule)
.catch(err => console.error(err));

0 comments on commit 1e7de9d

Please sign in to comment.