mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-23 01:21:42 +00:00
Add logging framework.
DEBUG messages are completely optimized out if NDEBUG is defined.
This commit is contained in:
@@ -288,6 +288,10 @@ const char *NT_LoadPersistent(const char *filename,
|
||||
* Utility Functions
|
||||
*/
|
||||
|
||||
void NT_SetLogger(NT_LogFunc func, unsigned int min_level) {
|
||||
nt::SetLogger(func, min_level);
|
||||
}
|
||||
|
||||
void NT_DisposeValue(NT_Value *value) {
|
||||
switch (value->type) {
|
||||
case NT_UNASSIGNED:
|
||||
|
||||
Reference in New Issue
Block a user