Skip to content

Make sure that the ecosystem agrees on the logger formatting and implementation #13

@RobPasMue

Description

@RobPasMue

We went with:

https://github.com/ansys-internal/ansys-tools-common/blob/0ba8b50776709160fc976155c10b122f50cfebe4/src/ansys/tools/logger.py#L94-L96

But we should consider to get some agreement from the rest of the PyAnsys dev ecosystem.

Also, the current implementation is handled as a Singleton - and basically any changes implemented by a library to the logger will impact the other libraries. However, we do not want to have multiple logger instances when executing PyAnsys code -- the goal is that everybody uses the same logger object. This should be clarified and discussed. We might have to prevent write operations for certain logger properties...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions