Debug Log

Additional

Language
Java
Version
1.7.1 (Aug 20, 2017)
Created
Aug 2, 2017
Updated
Aug 20, 2017 (Retired)
Owner
vietnguyen312
Contributor
vietnguyen312
1
Activity
Badge
Generate
Download
Source code

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
         ]
      ]