mirror of
https://github.com/HeyPuter/puter.git
synced 2025-01-23 06:00:21 +08:00
make logger return empty string
This commit is contained in:
parent
a002ad08e5
commit
5caf59f1bc
@ -39,7 +39,8 @@
|
||||
// something like this was also done in backend and it proved useful.
|
||||
(scope => {
|
||||
globalThis.logger = {
|
||||
info: (...a) => console.log('%c[INIT/INFO]', 'color: #4287f5', ...a),
|
||||
info: (...a) => {},
|
||||
// info: (...a) => console.log('%c[INIT/INFO]', 'color: #4287f5', ...a),
|
||||
};
|
||||
})(globalThis);
|
||||
logger.info('start -> blocking initialization');
|
||||
|
Loading…
Reference in New Issue
Block a user