remove unused static function in Log.java