Quantcast
Channel: Yii Framework Forum
Viewing all articles
Browse latest Browse all 18717

Enable Logging only on specific Modules and Users

$
0
0
Hello!

I am now looking for a solution for this for a couple of days now.
Some of my modules are already live, while some modules are still in production. Therefore I would like to be able to enable logging in Webbrowser (CWebLogRoute and CProfileLogRoute) just in a few modules. It would also help, when I could activate logging just for a few users.

As I am asking about logging, I have another question, Is there a better way to see the content of a variable than using print_f and outputting it within the layout. Maybe there is a variable debugger in Yii?!?!

Thank you!

Viewing all articles
Browse latest Browse all 18717

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>