https://github.com/orienteerbap/orienteer-logger
Remote logger of incidents, fatal logs and other events for your application
https://github.com/orienteerbap/orienteer-logger
java logging orienteer
Last synced: about 1 year ago
JSON representation
Remote logger of incidents, fatal logs and other events for your application
- Host: GitHub
- URL: https://github.com/orienteerbap/orienteer-logger
- Owner: OrienteerBAP
- Created: 2016-10-11T11:29:55.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2020-12-31T05:18:04.000Z (over 5 years ago)
- Last Synced: 2024-12-01T01:48:23.803Z (over 1 year ago)
- Topics: java, logging, orienteer
- Language: Java
- Homepage:
- Size: 53.7 KB
- Stars: 3
- Watchers: 3
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Orienteer Logger
## What is it?
It is small and lightweight package for events logging in orienteer for subsequent analysis
You can use it for:
1. Remote incidents report for your java application
2. Usage events reports
3. Android applications fault reports
Library is extremely small with no extra dependencies and can be used for reporting not only to Orienteer servers, but your own
## How to use it
```java
OLogger.log("My message here");
OLogger.log(unhandledExceptionToBeReported);
```
## How to configure it
```java
OLogger.set(new OLoggerBuilder().create(new MyCustomOLoggerConfiguration()));
OLogger.set(new OLoggerBuilder().setLoggerEventDispatcher(new MyCustomEventsDispatcher()).create());
```
### Default Configuration
Default OLogger configuration supports the following system properties:
1. ologger.application - application name
2. ologger.nodeId - node id
3. ologger.collectorUrl - URL of orienteer installation for collecting of logs