Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enums do not work. #3147

Closed
mold-boy opened this issue Jul 28, 2024 · 1 comment
Closed

Enums do not work. #3147

mold-boy opened this issue Jul 28, 2024 · 1 comment

Comments

@mold-boy
Copy link

          So how do i get this to work as the user?

cout << enum works but
spdlog::error("{}", My_ENUM} does not work

Originally posted by @aCuria in #150 (comment)

@tt4g
Copy link
Contributor

tt4g commented Jul 28, 2024

A custom formatter must be defined to format user-defined objects: https://fmt.dev/10.2.0/api.html#formatting-user-defined-types

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants