matlab.unittest.plugins.LoggingPlugin.withVerbosity
Class: matlab.unittest.plugins.LoggingPlugin
Namespace: matlab.unittest.plugins
Create plugin that displays logged diagnostics at specified verbosity
Syntax
Description
plugin = matlab.unittest.plugins.LoggingPlugin.withVerbosity(
creates a plugin that displays diagnostics logged at the specified level and below.
By default, the plugin directs its text output to the screen.level
)
Logged diagnostics are diagnostics that you supply to the unit testing framework
with the log (TestCase)
and log (Fixture)
methods.
plugin = matlab.unittest.plugins.LoggingPlugin.withVerbosity(___,
specifies options using one or more name-value arguments in addition to any of the
input argument combinations in previous syntaxes. For example, Name=Value
)plugin =
matlab.unittest.plugins.LoggingPlugin.withVerbosity("Detailed",ExcludingLowerLevels=true)
creates a plugin that displays diagnostics logged only at the
matlab.automation.Verbosity.Detailed
level.
Input Arguments
Name-Value Arguments
Examples
Version History
Introduced in R2014b