-
- All Implemented Interfaces:
-
me.shikhov.wlog.LogWriter
public class LogcatWriter implements LogWriter
Wrapper for android Log class, controls length of the message(4k limit)
-
-
Field Summary
Fields Modifier and Type Field Description public final static LogcatWriterINSTANCE
-
Method Summary
-
-
Method Detail
-
write
Unit write(Integer logLevel, String tag, String message, Throwable throwable)
Method should write log to underlying storage/console. <br></br> message and throwable can't be null simultaneously.
- Parameters:
logLevel- logLevel from Log.VERBOSE to Log.ASSERTtag- nonnull tag, usually class name.message- nullable message to logthrowable- nullable throwable to log
-
-
-
-