final public function isEnabled() {
		
		if ($this->disabled) {
			return FALSE;
		}
		
		$app = Application::getInstance();
		$router = Router::getInstance();
		
		// no logs on command line and web API
		if ('cli' == php_sapi_name() or 'api' == $router->module) {
			
			return FALSE;
			
		// user is defined, could be admin
		} else if ($app->currentUser) {
			
			return (Options::get('show_log') and $app->currentUser->admin);
		
		// no logs on login page
		} else if ('user' == $router->module and 'login' == $router->action) {
				
			return FALSE;
					
		// no login, no user defined, collects logs
		} else {
			
			return TRUE;
			
		}
		
	}