1
0
mirror of https://github.com/dzeiocom/libs.git synced 2025-08-04 19:01:58 +00:00

Updated Logger implement Console

This commit is contained in:
2020-07-07 11:13:35 +02:00
parent e0303a5abe
commit 70da3f2002
8 changed files with 522 additions and 40 deletions

View File

@@ -2,5 +2,13 @@ import Logger from './Logger'
// Browser Import
/**
* Init Logger in global context and add function to replace default console
*/
// @ts-ignore
window.Logger = Logger
// @ts-ignore
window.initConsole = function() {
window.console = new Logger('Console')
}