Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Certain custom formatting from spdlog doesn't work #37

Copy link
Copy link
@nicholas-presien

Description

@nicholas-presien
Issue body actions

Hi all, I'm currently evaluating spdlog-python as a replacement for logging in the python standard library.

Looking at the documentation from spdlog for custom formatting, it seems like there are some patterns that are not working/ supported.

These are:

  • %@ (Source file and line)
  • %s (Basename of the source file)
  • $g (Full or relative path of the source file)
  • %# (Source line)
  • $! (Source function)

I would presume some of it wouldn't work since it's a pybind11 wrapper of the cpp code. I wonder if there are other alternative to getting some of these working, especially the source function pattern?

Reactions are currently unavailable

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

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.