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: 2 months 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 (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2026-01-23T22:57:22.000Z (2 months ago)
- Last Synced: 2026-01-24T09:37:27.631Z (2 months ago)
- Topics: frc, frc-java, frc-library, logging
- Language: Java
- Homepage: https://doglog.dev
- Size: 6.72 MB
- Stars: 13
- Watchers: 1
- Forks: 3
- Open Issues: 14
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
# DogLog

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.**
### Installing via WPILib VS Code extension
DogLog is available to install through the WPILib VS Code extension.
### 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