add debug mode to limit output
This commit is contained in:
parent
f80d660e33
commit
6f422a4303
18 changed files with 86 additions and 69 deletions
|
|
@ -14,9 +14,9 @@ export function getActionsLogger(): Logger {
|
|||
return core;
|
||||
}
|
||||
|
||||
export function getRunnerLogger(): Logger {
|
||||
export function getRunnerLogger(debugMode: boolean): Logger {
|
||||
return {
|
||||
debug: console.debug,
|
||||
debug: debugMode ? console.debug : () => undefined,
|
||||
info: console.info,
|
||||
warning: console.warn,
|
||||
error: console.error,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue