Skip to content

Log statements don't have different colors #34

@adamisrafil

Description

@adamisrafil

Environment:

  • Swift 5
  • Xcode 11.3.1

Problem:
I implement the logger using the various levels of severity however all the log statements in the console are still white. I have tried changing themes and yet I still cannot have TRACE, DEBUG, INFO, WARNING, or ERROR to appear in the console with the proper colors.

Example Logger Setup:

    // MARK: Logging
    
    private lazy var log = Logger(formatter: .default, theme: .tomorrowNightEighties, minLevel: .trace)

Example Console Output:

Screen Shot 2020-01-16 at 1 14 28 PM

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions