Skip to content

schnatterer/logback-android-utils

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 

logback-android-utils

Build Status JitPack License

A small library that conveniently provides additional features for logback-android:

  • Setting the root level at runtime
  • Set the threshold filter of an appender. This allows for example to change the level of the logcat or a file appender
  • Getting all log files
  • Find the newest log file

The central logback-android logic is encapsulated in Logs

For an example see logback-android-demo. For a real-life example see nusic.

You can use it via JitPack: Add the following maven repository to your build.gradle

allprojects {
	repositories {
		...
		maven { url "https://jitpack.io" }
	}
}

Then add the actual dependency

dependencies {
        compile 'com.github.schnatterer:logback-android-utils:1.0.0'
}

Jenkins

Running Jenkinsfile with the pipeline plugin (tested with version 2.4) requires

  • A JDK defined as Jenkins tool (see Jenkinsfile for name of JDK tool)
  • Maven defined as Jenkins tool (see Jenkinsfile for name of Maven tool)
  • Optional: You can add a build parameter RECIPIENTS that contains a comma-separated list of all email recipients

About

A small library that conveniently provides additional features for logback-android

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages