Skip to content

Simple LogOutput decorator #7

@ryanjulian

Description

@ryanjulian

Provide a decorator for quickly adding a LogOutput by decorating a callable, e.g.

@logger.output(str, int)
def my_fun_handler(data, prefix=None):
    print('{} | datum: {}'.format(prefix, datum))

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