03 March 2024
Zuzana
Customizing Ray output
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()
Understand and fix bugs faster
Ray is a desktop application that serves as the dedicated home for debugging output. Send, format and filter debug information from both local projects and remote servers.