Star us on GitHub
Star
Menu

Ruby App

Learn how to set up highlight.io Ruby log ingestion.
1
Set up your frontend highlight.io integration.

First, make sure you've followed the frontend getting started guide.

2
Set up and call the Highlight Logger.

Highlight::Logger can be used in place of your existing logger, and will record and send logs to Highlight.

require "highlight" Highlight::H.new("<YOUR_PROJECT_ID>") logger = Highlight::Logger.new(STDOUT) logger.info('hello, world!') logger.error('oh no!')
Copy
3
Verify your backend logs are being recorded.

Visit the highlight logs portal and check that backend logs are coming in.