I’m display some plain-text syslog output on a web page. I’d really like to pretty-print it, highlighting dates and hostnames. Are there any javascript syntax highlighting libraries which come with syslog support?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
There is a nice JavaScript syntax highlighter. It doesn’t support the syslog but since it is not a very complex format it shouldn’t be too hard to create a custom brush for it.