Welcome Guest, Not a member yet? Register   Sign In
Log threshold and environment
#2

You can use something like this :

PHP Code:
switch (ENVIRONMENT)
{
 
   case 'development':
 
       $config['log_threshold'] = 2// Debug
 
       break;

 
   case 'testing':
        $config['log_threshold'] = 1// Error
 
       break;

 
   default:
        $config['log_threshold'] = 0// Disabled
 
       break;

Reply


Messages In This Thread
Log threshold and environment - by guiweber - 01-08-2015, 12:45 PM
RE: Log threshold and environment - by includebeer - 01-11-2015, 08:10 AM
RE: Log threshold and environment - by Avenirer - 01-12-2015, 01:04 AM
RE: Log threshold and environment - by guiweber - 01-12-2015, 03:49 PM



Theme © iAndrew 2016 - Forum software by © MyBB