Skip to content

Unable to set httpLogging to false #36

@nathan-hubelia

Description

@nathan-hubelia

What version of Logestic are you using?

1.2.3

What is the bug and how to reproduce it?

Unable to disable the httpLogging option. I would expect this code

new Elysia()
  .use(
    Logestic.preset('fancy', {
	httpLogging: false,
    }
  )
)

What is the expected behaviour?

When httpLogging is set to false, I would expect successful requests not to be logged. However, they are still printed.

Any additional information/media?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions