Skip to content

Proposal to change argument order in constructor to be consistent with stdlib #75

Closed
@FlorianLudwig

Description

Current constructor:

def __init__(self, fmt=None, datefmt=None, level_styles=None, field_styles=None, style=DEFAULT_FORMAT_STYLE):

The python standard lib expects the first three parameters to be fmt, datefmt, style.

To make coloredlogs usable with the config system in the stdlib I like to propose to move the style.

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions