mcfacts.objects.log.LogFunction
- class mcfacts.objects.log.LogFunction(*args, **kwargs)
Bases:
ProtocolA protocol that represents a logging function.
Any callable that matches this protocol should accept a message as a string and an optional new_line flag (defaulting to True), and return None.
- __init__(*args, **kwargs)
Methods
__init__(*args, **kwargs)