mirror of
https://github.com/orangecoding/fredy.git
synced 2026-06-16 12:31:07 +00:00
Update logger.js
This commit is contained in:
committed by
GitHub
parent
ce7f0bca9f
commit
de119c9199
@@ -57,10 +57,3 @@ export default {
|
|||||||
warn: (...a) => log('warn', ...a),
|
warn: (...a) => log('warn', ...a),
|
||||||
error: (...a) => log('error', ...a),
|
error: (...a) => log('error', ...a),
|
||||||
};
|
};
|
||||||
|
|
||||||
// Beispiel:
|
|
||||||
// import logger from './logger.js';
|
|
||||||
// const a = 'fick';
|
|
||||||
// const b = { tr: 'lolo' };
|
|
||||||
// logger.info('hallo', a, b);
|
|
||||||
// -> In IntelliJ siehst du das Objekt wie bei console.info, plus Prefix
|
|
||||||
|
|||||||
Reference in New Issue
Block a user