timber-loggly

A Timber tree that posts to Loggly

License

License

GroupId

GroupId

com.github.tony19
ArtifactId

ArtifactId

timber-loggly
Last Version

Last Version

1.0.1
Release Date

Release Date

Type

Type

jar
Description

Description

timber-loggly
A Timber tree that posts to Loggly
Project URL

Project URL

http://github.com/tony19/timber-loggly
Source Code Management

Source Code Management

https://github.com/tony19/timber-loggly

Download timber-loggly

How to add to project

<!-- https://jarcasting.com/artifacts/com.github.tony19/timber-loggly/ -->
<dependency>
    <groupId>com.github.tony19</groupId>
    <artifactId>timber-loggly</artifactId>
    <version>1.0.1</version>
</dependency>
// https://jarcasting.com/artifacts/com.github.tony19/timber-loggly/
implementation 'com.github.tony19:timber-loggly:1.0.1'
// https://jarcasting.com/artifacts/com.github.tony19/timber-loggly/
implementation ("com.github.tony19:timber-loggly:1.0.1")
'com.github.tony19:timber-loggly:jar:1.0.1'
<dependency org="com.github.tony19" name="timber-loggly" rev="1.0.1">
  <artifact name="timber-loggly" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.github.tony19', module='timber-loggly', version='1.0.1')
)
libraryDependencies += "com.github.tony19" % "timber-loggly" % "1.0.1"
[com.github.tony19/timber-loggly "1.0.1"]

Dependencies

compile (2)

Group / Artifact Type Version
com.jakewharton.timber : timber jar 2.5.1
com.github.tony19 : loggly-client jar 1.0.3

test (2)

Group / Artifact Type Version
junit : junit jar 4.11
org.mockito : mockito-core jar 1.9.5

Project Modules

There are no modules declared in this project.

timber-loggly

v1.0.1

A Timber tree for asynchronously posting log messages to Loggly.

Usage

  1. Plant a LogglyTree with your authorization token from Loggly.
import android.app.Application;
import com.github.tony19.timber.loggly.LogglyTree;
import timber.log.Timber;

public class ExampleApp extends Application {

    @Override
    public void onCreate() {
        super.onCreate();

        final String LOGGLY_TOKEN = /* your loggly token */;
        Timber.plant(new LogglyTree(LOGGLY_TOKEN));
    }
}
  1. Use Timber API to log an event via LogglyTree...
Timber.tag("foo");
Timber.i("hello world");

Download

timber-loggly-1.0.1.jar

Gradle

compile 'com.github.tony19:timber-loggly:1.0.1'
compile 'com.squareup.retrofit:retrofit:1.9.0'

Maven

<dependency>
  <groupId>com.github.tony19</groupId>
  <artifactId>timber-loggly</artifactId>
  <version>1.0.1</version>
</dependency>
<dependency>
  <groupId>com.squareup.retrofit</groupId>
  <artifactId>retrofit</artifactId>
  <version>1.9.0</version>
</dependency>

Snapshots of the development version are available in Sonatype's snapshots repository.

Versions

Version
1.0.1
1.0.0