/** * Sets the debug logging enabled or disabled * * @param booleab $state sets the state of logging */ public static function set_logging($state = true) { CjBlogApi::$_enable_logging = $state; }