DebugLog
Library for logging message in debug
Download
Project build gradle:
allprojects {
repositories {
jcenter()
maven {
url "https://jitpack.io"
}
}
}
Gradle:
compile 'com.github.vietnguyen312:DebugLog:1.7.1'
#Usage:
AwesomeLog awesome = new AwesomeLog();
awesome.setText("this is pretty log");
Debug.log("optional message", awesome);
# Result:
FileName - ClassName - Method - [optional message] AwesomeLog [
text = this is pretty log
]
#List - Map:
List<AwesomeLog> awesomeLogs = new LinkedList();
AwesomeLog awesome = new AwesomeLog();
awesome.setText("this is the first object");
awesomeLogs.add(awesome);
awesome = new AwesomeLog();
awesome.setText("this is the second object");
awesomeLogs.add(awesome);
Debug.log("optional message", awesomeLogs);
# Result:
FileName - ClassName - Method - [optional message] LinkedList [
[0] = [
text = this is the first object
],
[1] = [
text = this is the second object
]
]