This is the source code for the Java client to the Scalyr Logs services. See scalyr.com/logapijava for an introduction to the API.
We do not actively solicit outside contributions to the client library, but if you'd like to submit a patch, feel free to get in touch ([email protected]). And of course, feedback, requests, and suggestions are always welcome!
Add the following dependency to your project's pom.xml (check Maven Central for the latest version):
<dependency>
<groupId>com.scalyr</groupId>
<artifactId>scalyr-client</artifactId>
<version>6.0.29</version>
</dependency>
- Download the Java client library directly from Maven Central and add it to your project.
The com.scalyr.api.json package contains a bastardized copy of the json-simple library (http://code.google.com/p/json-simple/). We have removed code not needed for our purposes, and renamed the package to avoid conflicts. Thanks to Yidong Fang and Chris Nokleberg, the authors of json-simple, for this very handy library.