• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Log file styling lib

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

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?

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

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

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.

Thanks Skunkbad.

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  

  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.