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

Refactor: Structured logging. #1201

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

fdcastel
Copy link
Contributor

@fdcastel fdcastel commented Oct 25, 2024

Another piece of #1196.

The code has been rewritten from the ground up, though I've kept some names and structure, at least for this initial version.

  • IFbLogger -> Microsoft.Extensions.Logging.ILogger<T>
  • FbLogManager -> Probably better to rename it to FBLoggingConfiguration?
  • LogMessages -> Converted to structured logging format.

There are some warnings about libraries not tested with .net5. What about to support .net6 and up with compiler directives?

In .net6 log messages can be generated in compile-time.

@willibrandon

This comment was marked as resolved.

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.

2 participants