Skip to content

Introduce logging to enable detailed debugging #8

@atsukoba

Description

@atsukoba

By introducing logging, facilitate debugging when using as a module. Adding the argument of verbosity to each function produced by this module, users will be able to check errors occurred in internal modules such as hidapi

for example,

from pyjoycon import device
from pyjoycon.joycon import JoyCon

ids = device.get_ids("R", verbose=True)
joycon = JoyCon(*ids, verbose=True)
joycon.get_status(verbose=True)

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