Skip to content

This is a simple Logback appender which pushes logs to Firebase Cloud Messaging (FCM)

Notifications You must be signed in to change notification settings

subey/logback-fcm-appender

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

This is a simple Logback appender which pushes logs to Firebase Cloud Messaging (FCM)

Install via gradle:

repositories {
    ...
    maven { url 'http://maven.subey.net' }
}

dependencies {
    ...
    compile group: 'net.subey', name: 'logback-fcm-appender', version: '1.0-SNAPSHOT'

}

Usage: src/main/resources/logback.xml

    <appender name="FCM" class="net.subey.logback.FcmAppender">
        <filter class="ch.qos.logback.classic.filter.ThresholdFilter">
            <level>ERROR</level>
        </filter>
        <key>YOUR KEY</key>
        <title>YOUR NOTIFY TITLE</title>
        <to>/topics/log</to>
    </appender>

About

This is a simple Logback appender which pushes logs to Firebase Cloud Messaging (FCM)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages