mirror of
https://github.com/kiegroup/git-backporting.git
synced 2025-04-25 12:52:13 +00:00
15 lines
373 B
JavaScript
15 lines
373 B
JavaScript
"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;
|