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

Feature/structured logging support #303

Open
wants to merge 4 commits into
base: trunk
Choose a base branch
from

Conversation

HughIngram
Copy link

@HughIngram HughIngram commented Mar 6, 2018

Implementation of the feature requested in this issue:
#184

This feature would allow Timber to be used in for structured logging with SDKs like Firebase and Mint.

The API proposed in this PR adds methods such as:

public static void v(Map<String, Object> metadata, String message, Object... args)

I would have preferred to use a more generic Type for metadata instead of prescribing the Type of Map<String, Object>, but I could not find a way to implement generics without breaking the existing API.

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.

None yet

1 participant