Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Follow Pythons logging API (deprecate warn) #12

Open
fuchse-ego opened this issue Jul 28, 2022 · 0 comments
Open

Follow Pythons logging API (deprecate warn) #12

fuchse-ego opened this issue Jul 28, 2022 · 0 comments

Comments

@fuchse-ego
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant