Skip to content

How can I change the log level? #269

@haemi

Description

@haemi

Summary:
I tried to change the log level to e.g. .warning, but I always get the extensive logging.

Steps to Reproduce:

  1. I imported XCGLogger
  2. in the AppDelegate, immediately after launching the app, I set
let log = XCGLogger.default
log.setup(level: .error)

This seems to be the wrong approach 🙂 But how can I change the log level?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions