how to display log data into colorful manner in angular app

1.7k Views Asked by At

I am working on a feature where need to display logs data from various app into an angular app.

I have back-end services which reads logs data for selected app and send them to angular UI.

I am using a text area control to display these logs but it looks very ugly.

Is there any free angular/javascript package available for view logs data in more colorful manner?

1

There are 1 best solutions below

1
talhature On

You can use prism.js, I'm not sure if it has out of the box support for syslog kind of syntax highlighting but you can extend it for your needs. https://prismjs.com/extending.html