log
Class: matlab.unittest.TestCase
Namespace: matlab.unittest
Record diagnostic information during test execution
Description
log(
logs the supplied diagnostic information. You can use the testCase,diagnostic)log
method to log information during test execution. The test runner displays logged
messages only if you configure it to do so by adding an appropriate plugin, such as
a matlab.unittest.plugins.LoggingPlugin
instance.
log(
logs the diagnostic information at the specified verbosity level,
testCase,v,diagnostic)v.
Input Arguments
Examples
Version History
Introduced in R2014b