Skip to content
This repository has been archived by the owner on Nov 10, 2023. It is now read-only.

Little correction to add in the online documentation #46

Open
ericorain opened this issue Aug 27, 2020 · 0 comments
Open

Little correction to add in the online documentation #46

ericorain opened this issue Aug 27, 2020 · 0 comments

Comments

@ericorain
Copy link
Contributor

ericorain commented Aug 27, 2020

Hi.

In the documentation I would suggest to replace:

###############################

import netdev

netdev_logger = netdev.logger
netdev_logger.setLevel(logging.INFO)
netdev_logger.addHandler(logging.StreamHandler())

#Your own code

###############################

With;

###############################

import netdev
import logging

netdev_logger = netdev.logger
netdev_logger.setLevel(logging.INFO)
netdev_logger.addHandler(logging.StreamHandler())

#Your own code

###############################

Since that code would fail for the 2 last instructions.

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

No branches or pull requests

1 participant