Skip to content

Timber.Tree.log() param documentation is incorrect. #206

@vaughandroid

Description

@vaughandroid

The documentation of the message param indicates that it may be null when t is not null:

@param message Formatted log message. May be {@code null}, but then {@code t} will not be.

However, the implementation of Timber.Tree.prepareLog() will always append the stack trace to the message when t is not null. Hence, message will never be null.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions