Class: Toybox.Test.Logger
- Inherits:
-
Toybox.Lang.Object
Overview
The Logger class provides output capabilities to tests.
It is not necessary to instantiate the Logger class. This is done automatically behind the scenes.
Instance Method Summary collapse
-
debug(str as Lang.Object) as Void
Write a debug String to the output stream.
-
error(str as Lang.Object) as Void
Write an error String to the output stream.
-
warning(str as Lang.Object) as Void
Write a warning String to the output stream.
Instance Method Details
debug(str as Lang.Object) as Void
Write a debug String to the output stream.
The String is prefixed with DEBUG and a time stamp.
error(str as Lang.Object) as Void
Write an error String to the output stream.
The String is prefixed with ERROR and time stamp.
warning(str as Lang.Object) as Void
Write a warning String to the output stream.
The String is prefixed with WARNING and a time stamp.