mirror of
https://github.com/actions/stale.git
synced 2025-12-11 12:37:27 +00:00
* feat(logs): enhance the logs and add a prefix with the issue number * chore: use camelCase for constants use the new logger for the new code due to the rebase
16 lines
284 B
TypeScript
16 lines
284 B
TypeScript
import * as core from '@actions/core';
|
|
|
|
export class Logger {
|
|
warning(message: Readonly<string>): void {
|
|
core.warning(message);
|
|
}
|
|
|
|
info(message: Readonly<string>): void {
|
|
core.info(message);
|
|
}
|
|
|
|
error(message: Readonly<string>): void {
|
|
core.error(message);
|
|
}
|
|
}
|