Java.Util.Logging.StreamHandler.SetOutputStream Method
Sets the output stream this handler writes to.

Syntax

[Android.Runtime.Register("setOutputStream", "(Ljava/io/OutputStream;)V", "GetSetOutputStream_Ljava_io_OutputStream_Handler")]
protected virtual void SetOutputStream (System.IO.Stream os)

Parameters

os
the new output stream.

Exceptions

TypeReason
Java.Lang.NullPointerExceptionif os is null.

Remarks

Sets the output stream this handler writes to. If there's an existing output stream, the tail string of the associated formatter will be written to it. Then it will be flushed, closed and replaced with os.

[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