Skip to content

v2: Add anylogger support #14

@Download

Description

@Download

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions