-
Notifications
You must be signed in to change notification settings - Fork 18
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
Support Apple Unified Logging #14
Comments
Currently does the iOS sink write to the Console, rather than actually writing to NSLog? From what I can see here NSLogSink.cs L38 it is just simply writing out to Console.WriteLine() |
They are one and the same. At least they were when the code was written.
…Sent from my iPhone
On Sep 11, 2019, at 3:27 AM, FinHorsley ***@***.***> wrote:
Currently does the iOS sink write to the Console, rather than actually writing to NSLog?
From what I can see here NSLogSink.cs L38 it is just simply writing out to Console.WriteLine()
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.
|
Great 🙂 |
Well, iOS (and other Apple platforms) generally supports this (for example, debug logging), but I couldn't find any facility in Xamarin to map those low-level functions. (Here's a thread about it.) |
Just wanted to clarify for posterity that Unified Logging on Apple platforms isn’t calling |
@allenhumphreys I made a sink that calls Apple’s APIs. If someone is interested, I’ll make the repo public. |
@chucker : Does the unified-logging sink works with .NET core ? And yes, please make it public. |
I don't believe it's possible yet to target Xamarin stuff from .NET Core? |
@chucker I just came across this - would you be interested in contributing that sink into this repo so there's one place for all xamarin sinks |
Given Xamarin has been EOL'd, and we're at two years since the last commit in this repo, it's probably best at this point to organize new mobile sinks around their respective APIs in new repositories. I'm running through closing stale issues, and expecting we'll end up archiving this repo in the not-too-distant future, but if there's some anticipated way forward I'm unaware of please give me a shout :) |
Continuing discussion in #32 (comment) |
I’ll have to port it to modern .NET some day. |
Do you want to request a feature or report a bug?
Feature
What is the current behavior?
Only supports NSLog on iOS
What is the motivation / use case for changing the behavior?
Support Unified Logging
The text was updated successfully, but these errors were encountered: