Skip to content

Enhancement : Introduce Logging Mechanism #399

@conveyanand

Description

@conveyanand

Is your feature request related to a problem? Please describe.
Currently, there are only warnings available in the code and having a logging mechanism will help the users to debug complex sequences.

Describe the solution you'd like

`import logging
logger = logging.getLogger('pypulseq')
# Usage in pulse creation
logger.debug(f"Creating sinc pulse with duration={duration}s, bandwidth={bandwidth}Hz")

Describe alternatives you've considered
Continue with Warnings

Additional context
None to report

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