Skip to content

logger enhancementΒ #914

@lekaf974

Description

@lekaf974

Current Behavior

using current logger implementation all logs are write to os.Stdout even if it is errors which is not normal behavior.

Desired Behavior

log levels: info, trace, warn, debug should go to os.Stdout

log levels: error, fatal should go to os.Stderr

Implementation

Logger struct should have 2 handlers to handle each use case

Acceptance Tests

Add unit tests

Mockups


Contributor Guides and Handbook

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