add debug mode to limit output
This commit is contained in:
parent
f80d660e33
commit
6f422a4303
18 changed files with 86 additions and 69 deletions
4
lib/logging.js
generated
4
lib/logging.js
generated
|
|
@ -12,9 +12,9 @@ function getActionsLogger() {
|
|||
return core;
|
||||
}
|
||||
exports.getActionsLogger = getActionsLogger;
|
||||
function getRunnerLogger() {
|
||||
function getRunnerLogger(debugMode) {
|
||||
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