Skip to content

Add custom logger  #142

@sdex

Description

@sdex

I'd like to have the ability to set a custom logger. Something like:

public interface Logger {
    void log(int level, String tag, String msg, Exception exp);
}

Shell.enableVerboseLogging = true;
Shell.logger = new Logger() {}

I can implement it and make a pull request, LMK if it's something you are willing to accept.

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