AndroidLog - Simple Android Logs
##Usage
###Adding Library
you just add the following dependency to your build.gradle:
dependencies {
repositories {
mavenCentral()
}
compile 'com.anwios.alog:android-log:1.3.1'
}
Logs.d("Message 1", "Message 2", "Message 3");
Logs.d(1, 2, 3);
Logs.d(1.2, .13);
Logs.toast(context, "Hello");
Logs.setHierarchy(2).setTag("ALOG");
List list=new ArrayList<String>();
list.add("qwert");
list.add("asdfgh");
list.add("zxcvbn");
Logs.a(list);
EditText b=new EditText(context);
b.setText("Helllo");
Logs.a(b);
//File
File f=new File("/hello");
Logs.a(f);
//Database
//print cursor contents
Logs.db(cursor,"id","name","description");
//inspect cursor row
cursor.moveToPosition(10);
Logs.dbRow(cursor,"id","name","description");
Any contributions are welcome!
- Nooh - nooh64@gmail.com
Copyright 2014 NOOH KVM
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.