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

G3log placeholder thread ID formatting #248

Merged
merged 8 commits into from Mar 8, 2018

Conversation

KjellKod
Copy link
Owner

@KjellKod KjellKod commented Mar 2, 2018

  1. Enable custom formattting of log entries.
  2. See also g3sinks enabling of this feature G3log placeholder thread ID formatting g3sinks#53
  3. See also updated API.markdownt](https://github.com/KjellKod/g3log/blob/g3log-placeholder-threadid-formatting/API.markdown)

API.markdown Outdated
### Adding thread ID to the log formatting
An "all details" log formatting function is also defined - this one also adds the "calling thread's ID"
```
static std::string DefaultLogDetailsToString(const LogMessage& msg);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Believe this should be FullLogDetailsToString(...)

Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks. I’ll go over the doc changes and clear things up

@KjellKod
Copy link
Owner Author

KjellKod commented Mar 5, 2018

@bmagistro let me know how testing goes. Otherwise I'll go ahead and merge this later this week.

@bmagistro
Copy link
Contributor

Things have gone well, haven't seen any issues, many thanks for getting this added!

@KjellKod KjellKod merged commit 14db37a into master Mar 8, 2018
@KjellKod KjellKod deleted the g3log-placeholder-threadid-formatting branch March 30, 2018 13:19
@tweej
Copy link

tweej commented Aug 16, 2018

I guess this is coming in the 1.4 release?

@KjellKod
Copy link
Owner Author

KjellKod commented Aug 16, 2018 via email

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

Successfully merging this pull request may close these issues.

None yet

3 participants