//Logger
FormatStrategy formatStrategy = PrettyFormatStrategy.newBuilder()
.showThreadInfo(false) // (Optional) Whether to show thread info or not. Default true
// .methodCount(0) // (Optional) How many method line to show. Default 2
// .methodOffset(7) // (Optional) Hides internal method calls up to offset. Default 5
.tag("network") // (Optional) Global tag for every log. Default PRETTY_LOGGER
.build();

Logger.addLogAdapter(new AndroidLogAdapter(formatStrategy));


'Android' 카테고리의 다른 글

rxandroid validation  (0) 2019.06.12
최초 실행시 layerActivity 에러  (0) 2019.05.30
logger setting  (0) 2019.02.25
Logger.d  (0) 2019.02.25
릴리즈 버전을 위한 키해시 등록방법  (0) 2019.02.08
Retrofit2 + OkHttp3  (0) 2018.09.06

+ Recent posts