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

support remote logging #22

Open
pq opened this issue Oct 3, 2018 · 0 comments
Open

support remote logging #22

pq opened this issue Oct 3, 2018 · 0 comments
Labels
enhancement New feature or request

Comments

@pq
Copy link
Owner

pq commented Oct 3, 2018

Related to #21, @matthewtsmith and @johnpryan described a desire to log remotely.

Use case: would like to redirect logging output to firebase to capture debugging data from devices in the wild.

https://github.com/SwiftyBeaver/SwiftyBeaver came up as a reference point.

I think for us to support this we just need something as simple as a listener interface a la package:logging where you can do something like:

Logger.root.level = Level.ALL;
Logger.root.onRecord.listen((record) {
  // redirect here...
});

/cc @devoncarew

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant