A subclass of
Handler that includes functionality for formatting logging records as human-readable
strings.
The following tokens are supported in the format:
- %s or {0} – record serial number
- %n or {1} – logger name
- %l or {2} – record level as string
- %M or {3} – record message
- %f or {4} – record calling function
- %d or {5,date} – record date as yyyy-MM-dd
- %t or {5,time} – record time as HH:mm:ss.mmm
Returns the format to use for formatting logging records.
Returns:
Sets the format to use for formatting logging records.
Parameters:
Copyright © 2001-2011, TIBCO Software Inc.