Skip to content

Documentation: How to increase the logging level #302

Description

@jthomerson

I can't find any documentation on how to increase the logging level. That'd be very helpful to have documented so that when you run into an issue (like I did in #301), you can more easily debug it. I resulted to a hack like this after poking around in the code and old pull requests for a while. I'm sure there's a much easier way - probably with some env var.

import { updateDynamoEasyConfig } from '@shiftcoders/dynamo-easy';

updateDynamoEasyConfig({
   logReceiver: console.log,
});

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions