A
StreamHandler object writes log messages to an output stream, that
is, objects of the class
Java.IO.OutputStream.
See Also:
StreamHandler Members
Syntax
[Android.Runtime.Register("java/util/logging/StreamHandler", DoNotGenerateAcw=true)]
public class
StreamHandler :
HandlerRemarks
A StreamHandler object writes log messages to an output stream, that
is, objects of the class Java.IO.OutputStream.
A StreamHandler object reads the following properties from the log
manager to initialize itself. A default value will be used if a property is
not found or has an invalid value.
- java.util.logging.StreamHandler.encoding specifies the encoding this
handler will use to encode log messages. Default is the encoding used by the
current platform.
- java.util.logging.StreamHandler.filter specifies the name of the filter
class to be associated with this handler. No Filter is used by
default.
- java.util.logging.StreamHandler.formatter specifies the name of the
formatter class to be associated with this handler. Default is
java.util.logging.SimpleFormatter.
- java.util.logging.StreamHandler.level specifies the logging level.
Defaults is Level.INFO.
This class is not thread-safe.
[Android Documentation]
Requirements
Namespace: Java.Util.Logging
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1