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

Little correction to add in the online documentation #46

@ericorain

Description

@ericorain

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions