mirror of
https://github.com/kiegroup/git-backporting.git
synced 2025-06-28 21:53:47 +00:00
feat: pull request backporting
feat: backport still open pull requests
This commit is contained in:
commit
b3936e019a
53 changed files with 48467 additions and 0 deletions
15
src/service/logger/logger.ts
Normal file
15
src/service/logger/logger.ts
Normal file
|
@ -0,0 +1,15 @@
|
|||
|
||||
/**
|
||||
* Common logger class based on the console.log functionality
|
||||
*/
|
||||
export default class Logger {
|
||||
|
||||
log(prefix: string, ...str: string[]) {
|
||||
// eslint-disable-next-line no-console
|
||||
console.log.apply(console, [prefix, ...str]);
|
||||
}
|
||||
|
||||
emptyLine() {
|
||||
this.log("", "");
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue