Package com.sun.solaris.service.logging
Class SysloglikeFormatter
- java.lang.Object
-
- java.util.logging.Formatter
-
- com.sun.solaris.service.logging.SysloglikeFormatter
-
public class SysloglikeFormatter extends java.util.logging.Formatter
Formats a LogRecord in a human-readable,syslog
-like format, and is intended for use with non-syslog handlers, such as FileHandler. Multi-line messages are automatically indented by four spaces to make subsequent lines easier to differentiate from new records.
-
-
Constructor Summary
Constructors Constructor Description SysloglikeFormatter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
format(java.util.logging.LogRecord record)
Format the given LogRecord.
-