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

Remove Agent.Current, rely only on AgentBuilder" #46

Merged
merged 1 commit into from
Mar 4, 2024

Conversation

Mpdreamz
Copy link
Member

@Mpdreamz Mpdreamz commented Mar 2, 2024

Continuation of: #45

Removes additional logging related to static Agent.Current which we discussed to remove during EAH.

@Mpdreamz Mpdreamz changed the base branch from main to feature/ilogger March 2, 2024 09:23
@Mpdreamz Mpdreamz requested a review from stevejgordon March 2, 2024 09:24
Copy link
Contributor

@stevejgordon stevejgordon left a comment

Choose a reason for hiding this comment

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

LGTM

@Mpdreamz Mpdreamz merged commit 92c531d into feature/ilogger Mar 4, 2024
3 checks passed
@Mpdreamz Mpdreamz deleted the feature/ilogger-continued branch March 4, 2024 10:47
Mpdreamz added a commit that referenced this pull request Mar 4, 2024
* Make FileLogger an ILogger implementation

* fix boolean logic isenabled

* add simple logging assertions

* Update example to include activity source name

* Update logging test so that agent is disposed before we validate logs

* Return new list

* ensure AgentBuilder.Agent disposes all

* remove ElasticDiagnosticLoggingObserver so logging is no longer duplicated over all active loggers

* Remove Agent.Current, rely only on AgentBuilder" (#46)
@Mpdreamz Mpdreamz added this to the 0.1.0 Alpha milestone Mar 6, 2024
@Mpdreamz Mpdreamz self-assigned this Mar 6, 2024
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