Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jonahsnider/doglog
DogLog is a simple, unopinionated logging library for FRC teams
https://github.com/jonahsnider/doglog
frc frc-java frc-library logging
Last synced: 4 days ago
JSON representation
DogLog is a simple, unopinionated logging library for FRC teams
- Host: GitHub
- URL: https://github.com/jonahsnider/doglog
- Owner: jonahsnider
- Created: 2024-04-26T18:28:52.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2024-10-24T11:38:05.000Z (4 months ago)
- Last Synced: 2024-10-25T03:32:37.158Z (4 months ago)
- Topics: frc, frc-java, frc-library, logging
- Language: Java
- Homepage: https://doglog.dev
- Size: 3.75 MB
- Stars: 4
- Watchers: 2
- Forks: 1
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
# DogLog
![DogLog banner](./banner.png)
DogLog is a logging library for FRC teams, created for use on [Team 581](https://github.com/team581).
See [**the documentation site**](https://doglog.dev) for more information.
## Installation
**Please see the [installation guide](https://doglog.dev/getting-started/installation/) for more information.**
### Vendordep URL
```text
https://doglog.dev/vendordep.json
```## Usage
**Please see the [usage guide](https://doglog.dev/getting-started/usage/) for more information.**
First, import the library from the dev.doglog namespace:
```java
import dev.doglog.DogLog;
```And then you can use Doglog.log() to log values like so:
```java
DogLog.log("Arm/Position", motor.getPosition().getValue());
```You can include these log statements in your periodic methods, or anywhere else you want to log data.
## Project goals
- Get started in seconds
- Add the vendordep and start logging, no configuration or setup boilerplate needed
- Performance where it counts
- DogLog was designed for fast logging, powered by WPILib's highly optimized `DataLogManager` API
- Configurable to the core
- Customize practically all logger behavior with a simple, yet powerful, configuration API
- Log with confidence
- DogLog was created to address the lack of a safe and fault-tolerant logging solution for FRC, without sacrificing developer experience