-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Extensions.Logging.Console: Only check for Android/Apple mobile on netcoreapp configs #74798
Conversation
…tcoreapp configs We can keep the previous behavior on non-netcoreapp configs since they only apply to legacy Xamarin.iOS/Android. That allows us to use the more efficient `OperatingSystem.Is*()` APIs.
Tagging subscribers to this area: @dotnet/area-extensions-logging Issue DetailsWe can keep the previous behavior on non-netcoreapp configs since they only apply to legacy Xamarin.iOS/Android.
|
src/libraries/Microsoft.Extensions.Logging.Console/src/SimpleConsoleFormatter.cs
Outdated
Show resolved
Hide resolved
src/libraries/Microsoft.Extensions.Logging.Console/src/SimpleConsoleFormatter.cs
Outdated
Show resolved
Hide resolved
Tagging subscribers to 'arch-android': @steveisok, @akoeplinger Issue DetailsWe can keep the previous behavior before #74496 on non-netcoreapp configs since they only apply to legacy Xamarin.iOS/Android.
|
src/libraries/Microsoft.Extensions.Logging.Console/src/SimpleConsoleFormatter.cs
Outdated
Show resolved
Hide resolved
…onsoleFormatter.cs Co-authored-by: Jan Kotas <jkotas@microsoft.com>
We can keep the previous behavior before #74496 on non-netcoreapp configs since they only apply to legacy Xamarin.iOS/Android.
That allows us to use the more efficient
OperatingSystem.Is*()
APIs.