Welcome Guest, Not a member yet? Register   Sign In
Log file styling lib
#1

Hi all,

I'm seeking a library that provide the CI log files in a view that is styled nicely.

Eg ERROR levels log items are red, Debug is blue etc.

Anyone know of such a project kicking around?


Many thanks
Reply
#2

@zurtri
I personally don't know of any but I'm sure there are some solutions out there that can get you close. Have you done any research?
Reply
#3

Why not start such a project yourself? Should be a fun little project ;-)
Reply
#4

Thats an option @Diederik but I was seeing if there is anything known at the moment.
Reply
#5

There'd really be no need for a library, as you can do this in a few lines of code.

1) fetch the contents of the log file
2) loop line by line
3) use regex or strpos to figure out what the line is
4) echo some styled output

You could get a lot fancier with the styling, but what you say you want is no library necessary.
Reply
#6

Thanks Skunkbad.
Reply




Theme © iAndrew 2016 - Forum software by © MyBB