mirror of
https://github.com/kiegroup/git-backporting.git
synced 2025-07-19 13:08:25 +02:00
project setup
This commit is contained in:
commit
05d156a5b0
39 changed files with 14823 additions and 0 deletions
15
build/src/service/logger/logger.js
Normal file
15
build/src/service/logger/logger.js
Normal file
|
@ -0,0 +1,15 @@
|
|||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
/**
|
||||
* Common logger class based on the console.log functionality
|
||||
*/
|
||||
class Logger {
|
||||
log(prefix, ...str) {
|
||||
// eslint-disable-next-line no-console
|
||||
console.log.apply(console, [prefix, ...str]);
|
||||
}
|
||||
emptyLine() {
|
||||
this.log("", "");
|
||||
}
|
||||
}
|
||||
exports.default = Logger;
|
Loading…
Add table
Add a link
Reference in a new issue