Skip to content

Use python logging instead of print statements #329

Open

Description

@KPostOffice

Name of Feature or Improvement

Instead of printing messages use python logging library

Description of Problem the Feature Should Solve

the logging library offers more fine grain control over which messages are seen by a user (debug, warnings, info, etc.) and also integrates with third party tools

Describe the Solution You Would Like to See

Instances of print statements should be replaced by logging.info, logging.warn, or logging.debug

Describe Alternatives You Have Considered

Leave as is and continue using print statements.

Activity

  1. sunalawa commented on Mar 6, 2025

    @sunalawa

    Is this something that can be picked up?
    I can contribute if required.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions