Skip to content

mitaketw/logback-sms-appender

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

logback-sms-appender

Build Status Maven Central

demo

Dependency

Maven

<dependency>
  <groupId>tw.com.mitake</groupId>
  <artifactId>logback-sms-appender</artifactId>
  <version>0.3.0</version>
</dependency>

Gradle

compile 'tw.com.mitake:logback-sms-appender:0.3.0'

How to use

<appender name="SMS" class="tw.com.mitake.logback.appender.SmsAppender">
  <username>my_username</username> <!-- Your Mitake SMS username -->
  <password>my_password</password> <!-- Your Mitake SMS password -->
  <to>0912345678</to> <!-- Your Mitake SMS destination phone number -->
  <title>Logback SMS Appender</title> <!-- Your Mitake SMS title -->
</appender>