mirror of
https://github.com/AikidoSec/safe-chain.git
synced 2026-05-26 12:10:49 +00:00
Add verbose logging setting + setup buffering of logs to prevent interleaving logs with the package manager.
This commit is contained in:
parent
0b393eeb5f
commit
c5e25f4813
4 changed files with 64 additions and 7 deletions
|
|
@ -7,8 +7,13 @@ export function getLoggingLevel() {
|
|||
return LOGGING_SILENT;
|
||||
}
|
||||
|
||||
if (level === LOGGING_VERBOSE) {
|
||||
return LOGGING_VERBOSE;
|
||||
}
|
||||
|
||||
return LOGGING_NORMAL;
|
||||
}
|
||||
|
||||
export const LOGGING_SILENT = "silent";
|
||||
export const LOGGING_NORMAL = "normal";
|
||||
export const LOGGING_VERBOSE = "verbose";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue