public static void rebuild ( final MODE newMode ) { if ( mode != newMode ) { mode = newMode ; TYPE type ; switch ( mode ) { case DEBUG : type = TYPE . ANDROID ; Log . startFullLog ( ) ; break ; case DEVELOPER : type = TYPE . PERSISTENT ; Log . stopFullLog ( ) ; break ; case USER : type = TYPE . ANDROID ; break ; default : type = DEFAULT_TYPE ; Log . stopFullLog ( ) ; break ; } currentLog = getLog ( type ) ; } }
Rebuild logging systems with updated mode