Home
Forums
Members
Search
Help
New topics
Todays topics
Website
Welcome Guest, Not a member yet?
Register
Sign In
Login
Username:
Password:
Remember me
Lost Password?
CodeIgniter Forums
Using CodeIgniter
General Help
Log file styling lib
Share on Google
Share on Facebook
Share on Twitter
View a Printable Version
Subscribe to this thread
Add Poll to this thread
Send thread to a friend
Linear Mode
Threaded Mode
Log file styling lib
zurtri
Member
Posts:
59
Threads:
14
Joined:
Oct 2014
Reputation:
4
#1
01-17-2017, 03:30 PM
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
php_rocs
Administrator
Posts:
1,392
Threads:
79
Joined:
Jun 2016
Reputation:
72
#2
01-18-2017, 12:33 PM
@
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
Diederik
Senior Member
Posts:
299
Threads:
0
Joined:
Jan 2015
Reputation:
20
#3
01-18-2017, 01:20 PM
Why not start such a project yourself? Should be a fun little project ;-)
Reply
zurtri
Member
Posts:
59
Threads:
14
Joined:
Oct 2014
Reputation:
4
#4
01-18-2017, 02:57 PM
Thats an option @
Diederik
but I was seeing if there is anything known at the moment.
Reply
skunkbad
Senior Citizen
Posts:
1,300
Threads:
63
Joined:
Oct 2014
Reputation:
86
#5
01-18-2017, 10:29 PM
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.
Expert Website Development - Temecula, CA
Community Auth For CodeIgniter 3
Reply
zurtri
Member
Posts:
59
Threads:
14
Joined:
Oct 2014
Reputation:
4
#6
01-22-2017, 02:48 PM
Thanks Skunkbad.
Reply
--------------------
Private Messages
User Control Panel
Who's Online
Search
Forum Home
General
-- News & Discussion
-- Events
-- Lounge
-- Regional User Groups
Using CodeIgniter
-- Installation & Setup
-- Model-View-Controller
-- Libraries & Helpers
-- Best Practices
-- Choosing CodeIgniter
-- General Help
CodeIgniter 4
-- CodeIgniter 4 Roadmap
-- CodeIgniter 4 Development
-- CodeIgniter 4 Feature Requests
-- CodeIgniter 4 Support
-- CodeIgniter 4 Discussion
-- CodeIgniter 4 Addins
Development
-- CodeIgniter 3.x
-- CodeIgniter 2.x
-- Issues
-- NetBeans Plugin
External Resources
-- Spotlight
-- Learn More
-- Jobs
-- Addins
Archived Discussions
-- Archived Libraries & Helpers
-- Archived Development & Programming
Theme © iAndrew 2016 -
Forum software by © MyBB