Back to overview

Customizing Ray output

3 March 2024

Image of Zuzana

Zuzana

Did you know you can customize Ray's output?

When you call Ray without any customization, the output will be displayed in this window:

While this looks good as it is, there are things you can do to improve the style of the output.

You can make the output font size smaller or larger by calling ray(…)->small() or ray(…)->large, with the default size being regular. You can also separate items by calling ray()->separator() to improve the readability of the output.

To futher improve readability of the Ray output, you can change the colour of the output indicator. You can use green()orange()red()blue(),purple() or gray() colors and turn on the color filter on the output to only display items with specific color.

ray(…)->red()

Stay in the loop with updates & promotions for Ray

We only send a few emails a year.

Debug without breaking your flow

Ray keeps all your debug output neatly organized in a dedicated desktop app.

Licenses are valid for 1 year and managed through Spatie. Licenses purchased before Ray 3 remain valid. VAT is calculated at checkout.