Skip to content

schnatterer/logback-android-utils

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Contributors 2

  •  
  •  

Languages