• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Logging library or helper?

#1
Question 
I want to create a logging function to log actions from my system to a database table, so that i can track what user made what change to the system.
Would i best create a helper or a library for this?
What is best practice for such a case...
Reply

#2
Hello. I don't know if this helps, but do give a try to my Rat library: https://github.com/avenirer/CodeIgniter-Rat
Reply

#3
I'm going to try that library Avenirer. It looks like exactly what i need.
Reply

#4
Avenirer, i really love your work with this Rat library. it does exactly what i need. Thanks for this Big Grin
Reply

#5
(01-11-2017, 01:44 AM)Avenirer Wrote: Hello. I don't know if this helps, but do give a try to my Rat library: https://github.com/avenirer/CodeIgniter-Rat

I was going to try this but then on your github page - you say:

"You can either autoload the library (I don't advise you to do that),"


why can't you autoload it? especially if this is something meant for the entire application?
Reply

#6
i autoload it even though it is not recommended by the developer and don't see/experience any downsides to doing so.
Reply

#7
(01-11-2017, 05:04 PM)eagle00789 Wrote: i autoload it even though it is not recommended by the developer and don't see/experience any downsides to doing so.

If they have to warn yout about it, it's likely because you wouldn't see the problem until it's too late - I'd give that another thought.
Reply


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


Users browsing this thread:
1 Guest(s)


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