-
Notifications
You must be signed in to change notification settings - Fork 19
Description
Ulog has a microscopically small footprint of just over 1kB. But we can do better!
anylogger currently has a footprint of just over 500 bytes. We can make ulog depend on anylogger and only add the missing features. This will make ulog the first library with native anylogger support.
Libraries can depend on anylogger instead of on ulog and only add a ~500 bytes footprint shared with all other libraries depending on anylogger. App developers can then plug in whatever logging framework they like. But with ulog depending on anylogger, we can probably beat most other loggers out there in terms of total dependency size. We should be able to stay below 1.5kB total at the app level and finally have a way for all libraries to participate in logging without incurring expensive overhead.