Skip to content

Custom filename creation for all sinks #580

@ldionne

Description

@ldionne

Currently, I think only the daily logger allows customizing the filename format. I'm trying to replace our internal logging framework by Spdlog, and I need to encode the date in the filename (but without using a daily logger, which is too coarse grained). Instead, I want to generate a new filename every time a size-based sink "rotates". I might be able to provide a PR if there's interest for solving this issue.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions