Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

configure log level over env vars #219

Open
github-actions bot opened this issue Feb 21, 2021 · 0 comments
Open

configure log level over env vars #219

github-actions bot opened this issue Feb 21, 2021 · 0 comments
Labels

Comments

@github-actions
Copy link

configure log level over env vars

// TODO: configure log level over env vars

          censor: '**SENSITIVE DATA**',
        },
        // TODO: configure log level over env vars
        level: context.level || 'info',
        browser: context.browser || null,
      }

      if (context.isPrettyPrint) {
        defaults.prettyPrint = {
          colorize: true,
          translateTime: 'yyyy-mm-dd HH:MM:ss.l'
        }
      }
      log = pino(defaults)
    }
ndex 98673b5..1a3143d 100644
++ b/packages/util-use-case/lib/adapters/toError.mjs

cf25df8054152604b69979229a50e9ee18532028

@github-actions github-actions bot added the todo label Feb 21, 2021
@nesterone nesterone added tech-debt Technical debt infra labels Feb 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant