public static function register($config)
    {

        if ($config['send_errors']) {
            unset($config['send_errors']);

            $logger = new self(TDebugger::$logDirectory);
            $logger->email = & TDebugger::$email;

            TDebugger::setLogger($logger);

            \Errbit::instance()
                ->configure($config);
//                ->start();
        }
    }