Skip to content

Site Doc for Hotswap has a broken example #4268

@morgen-peschke

Description

@morgen-peschke

The site doc example of a rotating logger assumes an API that doesn't match the one provided by Hotswap.

The assumed API would be much easier to work with in certain cases, though would need to be less powerful than what's provided by Hotswap. I think the missing abstraction could be useful, a NonEmptyHotswap would provide similar value as NonEmptyList.

I've taken a stab at this in #4267, and it looks promising.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions