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

Empty file/line when logging #147

Closed
caguero opened this issue Sep 22, 2024 · 0 comments · Fixed by #150
Closed

Empty file/line when logging #147

caguero opened this issue Sep 22, 2024 · 0 comments · Fixed by #150
Labels
bug Something isn't working

Comments

@caguero
Copy link
Contributor

caguero commented Sep 22, 2024

Environment

  • OS Version: Ubuntu 24.04 -->
  • Source or binary build? Source using the gz-utils3 branch (aae0d8c)

Description

  • Expected behavior: When logging a message:
logger.RawLogger().trace("trace\n");

we should see:

(2024-09-22 19:48:25.019) [trace] [main.cc:32] trace
  • Actual behavior: Instead, we see:
(2024-09-22 20:28:20.394) [trace] [:] trace

Steps to reproduce

  1. Compile the main.cc example under examples/log and run it.
@caguero caguero added the bug Something isn't working label Sep 22, 2024
@github-project-automation github-project-automation bot moved this from Inbox to Done in Core development Oct 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

1 participant