Skip to content

Follow Pythons logging API (deprecate warn) #12

@fuchse-ego

Description

@fuchse-ego

Hello,

I try to have libraries usable as standalone libs and to be used with robot framework / backgroundlogger.
For logging I'd find it useful if the API is similar to Pythons logging.

Python logging deprecated the warn() method in favor of warning():

Note There is an obsolete method warn which is functionally identical to warning. As warn is deprecated, please do not use it - use warning instead.

Is there a chance robotbackgroundlogger can reflect this change, so I can pass a logger object into my libs and use them transparently?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions