Java.Util.Logging.MemoryHandler Class
A Handler put the description of log events into a cycled memory buffer.

See Also: MemoryHandler Members

Syntax

[Android.Runtime.Register("java/util/logging/MemoryHandler", DoNotGenerateAcw=true)]
public class MemoryHandler : Handler

Remarks

A Handler put the description of log events into a cycled memory buffer.

Mostly this MemoryHandler just puts the given LogRecord into the internal buffer and doesn't perform any formatting or any other process. When the buffer is full, the earliest buffered records will be discarded.

Every MemoryHandler has a target handler, and push action can be triggered so that all buffered records will be output to the target handler and normally the latter will publish the records. After the push action, the buffer will be cleared.

The push method can be called directly, but will also be called automatically if a new LogRecord is added that has a level greater than or equal to than the value defined for the property java.util.logging.MemoryHandler.push.

MemoryHandler will read following LogManager properties for initialization, if given properties are not defined or has invalid values, default value will be used.

[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