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

Is it possible to add thread ID and call stack information to the log output format? #26

Closed
jacking75 opened this issue Oct 6, 2020 · 1 comment

Comments

@jacking75
Copy link

Looking at the code, it seems that only the following information can be added to the log text, but I want to leave the thread ID and callstack information as well.

public readonly struct LogInfo
{
public readonly string CategoryName;
public readonly DateTimeOffset Timestamp;
public readonly LogLevel LogLevel;
public readonly EventId EventId;
public readonly Exception? Exception;
}

@neuecc
Copy link
Member

neuecc commented Oct 6, 2020

We don't want to add anything that would be a burden on performance.
Or, if you can get the IAsyncLogProcessor implemented, there may be some things you can take.

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

2 participants