5454
5555LinearVerbosity (enabled:: Bool ) = enabled ? LinearVerbosity {true} () : LinearVerbosity {false} ()
5656
57- function LinearVerbosity (verbose:: SciMLLogging. VerbosityPreset )
58- if verbose isa SciMLLogging . None
57+ function LinearVerbosity (verbose:: VerbosityPreset )
58+ if verbose isa None
5959 LinearVerbosity {false} ()
60- elseif verbose isa SciMLLogging . All
60+ elseif verbose isa All
6161 LinearVerbosity {true} (
6262 default_lu_fallback = InfoLevel (),
6363 no_right_preconditioning = InfoLevel (),
@@ -74,7 +74,7 @@ function LinearVerbosity(verbose::SciMLLogging.VerbosityPreset)
7474 blas_success = InfoLevel (),
7575 condition_number = InfoLevel ()
7676 )
77- elseif verbose isa SciMLLogging . Minimal
77+ elseif verbose isa Minimal
7878 LinearVerbosity {true} (
7979 default_lu_fallback = ErrorLevel (),
8080 no_right_preconditioning = Silent (),
@@ -91,9 +91,9 @@ function LinearVerbosity(verbose::SciMLLogging.VerbosityPreset)
9191 blas_success = Silent (),
9292 condition_number = Silent ()
9393 )
94- elseif verbose isa SciMLLogging . Standard
94+ elseif verbose isa Standard
9595 LinearVerbosity {true} () # Use default settings
96- elseif verbose isa SciMLLogging . Detailed
96+ elseif verbose isa Detailed
9797 LinearVerbosity {true} (
9898 default_lu_fallback = InfoLevel (),
9999 no_right_preconditioning = InfoLevel (),
@@ -115,7 +115,7 @@ function LinearVerbosity(verbose::SciMLLogging.VerbosityPreset)
115115 end
116116end
117117
118- @inline function LinearVerbosity (verbose:: SciMLLogging. None )
118+ @inline function LinearVerbosity (verbose:: None )
119119 LinearVerbosity {false} ()
120120end
121121
0 commit comments