Skip to content

Abstraction for logging class #55

@apoorvkh

Description

@apoorvkh

Maybe we have a class

@dataclass
class LoggingConfig:
    handlers: dict[str, list[Handlers]]

    @classmethod
    def from_logfile(filepath, agents, workers) -> Self:
        pass

    # other builders

And then we can have functionality to merge multiple LoggingConfigs, e.g. with | operator

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