Skip to content

Use namespace for logging - #20

Open
SnipUndercover wants to merge 2 commits into
mainfrom
use-namespace-for-logging
Open

Use namespace for logging#20
SnipUndercover wants to merge 2 commits into
mainfrom
use-namespace-for-logging

Conversation

@SnipUndercover

Copy link
Copy Markdown
Member

Changes the template to use the last namespace segment as the log prefix, rather than the module name.
Having to use specifically the module name feels kind of arbitrary, unintuitive, and unnecessarily makes the log tag longer.

Additionally, makes the TFM consistent in the .csproj, since we're not using .NET 7 anymore.

@microlith57 microlith57 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

it logs the message

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