IT. Expert System.

Android Reference

ConsoleHandler


java.util.logging

Class ConsoleHandler



  • public class ConsoleHandler
    extends StreamHandler
    A handler that writes log messages to the standard output stream System.err.

    This handler reads the following properties from the log manager to initialize itself:

    • java.util.logging.ConsoleHandler.level specifies the logging level, defaults to Level.INFO if this property is not found or has an invalid value.
    • java.util.logging.ConsoleHandler.filter specifies the name of the filter class to be associated with this handler, defaults to null if this property is not found or has an invalid value.
    • java.util.logging.ConsoleHandler.formatter specifies the name of the formatter class to be associated with this handler, defaults to java.util.logging.SimpleFormatter if this property is not found or has an invalid value.
    • java.util.logging.ConsoleHandler.encoding specifies the encoding this handler will use to encode log messages, defaults to null if this property is not found or has an invalid value.

    This class is not thread-safe.

    • Constructor Detail

      • ConsoleHandler

        public ConsoleHandler()
        Constructs a ConsoleHandler object.
    • Method Detail

      • close

        public void close()
        Closes this handler. The System.err is flushed but not closed.
        Overrides:
        close in class StreamHandler
      • publish

        public void publish(LogRecord record)
        Logs a record if necessary. A flush operation will be done.
        Overrides:
        publish in class StreamHandler
        Parameters:
        record - the log record to be logged.


Content

Android Reference

Java basics

Java Enterprise Edition (EE)

Java Standard Edition (SE)

SQL

HTML

PHP

CSS

Java Script

MYSQL

JQUERY

VBS

REGEX

C

C++

C#

Design patterns

RFC (standard status)

RFC (proposed standard status)

RFC (draft standard status)

RFC (informational status)

RFC (experimental status)

RFC (best current practice status)

RFC (historic status)

RFC (unknown status)

IT dictionary

License.
All information of this service is derived from the free sources and is provided solely in the form of quotations. This service provides information and interfaces solely for the familiarization (not ownership) and under the "as is" condition.
Copyright 2016 © ELTASK.COM. All rights reserved.
Site is optimized for mobile devices.
Downloads: 455 / . Delta: 0.02913 с