libsu icon indicating copy to clipboard operation
libsu copied to clipboard

Add custom logger

Open sdex opened this issue 3 years ago • 1 comments

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.

sdex avatar Jan 22 '23 11:01 sdex

Thank you

watts89-cloud avatar Sep 01 '24 01:09 watts89-cloud