Add custom class to WordPress Custom Logo (since 4.5)
add_filter('get_custom_logo', 'prefix_custom_logo_output', 10);
function prefix_custom_logo_output( $html ){
$html = str_replace( 'custom-logo-link', 'custom-logo-link navbar-brand', $html );
return $html;
}