simplebench.enums.target module🔗
Target enums for SimpleBench.
- class simplebench.enums.target.Target(value)[source]🔗
-
Categories for different output targets.
The enums are used in generating calling parameters for the report() methods in the Reporter subclasses.
- Defined Targets are:
CONSOLE: Output to console.
FILESYSTEM: Output to filesystem.
CALLBACK: Pass generated output to a callback function.
CUSTOM: Output to a custom target.
NULL: No output.
- CALLBACK = 'callback'🔗
Pass generated output to a callback function.
- CONSOLE = 'console'🔗
Output to console.
- CUSTOM = 'custom'🔗
Output to a custom target.
- FILESYSTEM = 'filesystem'🔗
Output to filesystem.
- INVALID = 'invalid'🔗
Invalid target. This is a testing placeholder and should not be used.
- NULL = 'null'🔗
No output.