-
Notifications
You must be signed in to change notification settings - Fork 2
Configuration
There are 2 different ways of configuring specific aspects of BadgerLog.
Mappings allow any type to be represented as a type on NetworkTables. It converts a value to a NetworkTables valid
value.
To create one, implement the Mapping class, and then register it with Mappings.registerMapping. Examples at
BaseMappings, TransformMappings, UnitMappings.
Custom annotation configuration is supported via the ConfigHandler system.
This allows for the configuration to be modified in a consistent way. To use it, implement the ConfigHandler interface, and register it through ConfigHandlerRegistry.registerHandler.
All the per field configuration are implemented with this system, so examples can be found in the annotations package.
Javadoc can be found on Jitpack