1

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?

Abhash786
  • 881
  • 2
  • 24
  • 53
  • the logs are app specific. I am not sure if such package exists. Did u try to google it ? What was the result ? – Shashank Vivek Nov 24 '19 at 17:27
  • You could just add different color in css based on logs? – user122222 Nov 24 '19 at 17:31
  • I did google it a lot but couldn't find anything as log data viewer. I just simply need some sort of control that can display txt log data (ex. log4net logs) into more appealing manner. – Abhash786 Nov 24 '19 at 17:31
  • Coloring in css would be more manual approach and I'll use this as last option if there is no such package available for the same. – Abhash786 Nov 24 '19 at 17:33

1 Answers1

0

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

talhature
  • 2,246
  • 1
  • 14
  • 28