Skip to content

Unusual use of lshift "<<" operator for log messages #213

@rainman110

Description

@rainman110

In python, the shifting operators "<<" and ">>" are used for bit shifts.

The python module misuses it to mimic the C++ syntax for logging. This is extremely confusing for python users.

I suggest to remove these and instead provide a different function signature for logging under python, e.g.

gtInfo("This is an info")
gtInfo("this is a verbose message").medium()

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions