The log message format to use. All properties of a log message can be inserted to their placeholders, e.g. '%id%'.
The time format to use for the %time% placeholder. The time format is inspired by https://msdn.microsoft.com/de-de/library/8kb3ddd4(v=vs.110).aspx, but some of the placeholders might not work.
Optional formatLookups: FormatLookupmap containing lookups for the printing of formatted messages, see DefaultFormats
Optional style: StyleLookupmap containing style lookups for the printing of coloured messages. The timeStyle defaults to DefaultStyles.TIME; The defaultStyle defaults to DefaultStyles.ORIGIN; The originStyle defaults to DefaultStyles.ORIGIN; The idStyle defaults to DefaultStyles.ID; The messageStyle defaults to DefaultStyles.MESSAGE;
Protected _bufferA buffer that will be filled with log messages until the Appender is writable.
The relation, to which all the appenders results must adhere. See FilterRelation.
Protected _filtersThe filter that will be evaluated in order to determine whether a message shall be handled by this appender.
Protected ageProtected autoList of styles to choose from when generating random styles.
Protected categoryArray containing category style rules. Will be generated according to the category style option specified.
Protected dayProtected defaultSee Colors.DEFAULT.
Protected formatThe log message format to use. All properties of a log message can be inserted to their placeholders, e.g. '%id%'.
Protected idSee DefaultStyles.ID.
Protected messageProtected monthProtected noonProtected originSee DefaultStyles.ORIGIN.
Protected refArray containing ref style rules. Will be generated according to the refStyle option specified.
Protected separatorProtected severityA simple lookup from where the strings for the severity levels can be fetched. see DefaultFormats.ENUMS.SEVERITY
Protected severityArray containing severity style rules. Will be generated according to the severity style option specified.
Protected styleArray if style auto generator functions, indexed by the RandomizedStylableLogMessageProperties enum values.
Protected timeThe time format to use for the %time% placeholder. The time format is inspired by https://msdn.microsoft.com/de-de/library/8kb3ddd4(v=vs.110).aspx, but some of the placeholders might not work.
Protected timeSee DefaultStyles.TIME.
Protected _appendProtected _handleTransforms the message object according to the format string and forwards the result to the append method.
Protected evalEvaluates the message with respect to the message filters set.
The message to evaluate.
True, if the message matches the filters, false otherwise.
Protected generateGenerates the default category style lookup.
Optional styles: string | StyleGenerator | CategoryStyle[]consumes the StyleLookup.categoryStyle entry. If not specified, the default lookup will be generated.
Protected generateGenerates the default ref style lookup.
Optional styles: string | StyleGenerator | RefStyle[]consumes the StyleLookup.refStyle entry. If not specified, the default lookup will be generated.
Protected generateGenerates the default severity style lookup.
Optional styles: string | StyleGenerator | SeverityStyle[]consumes the StyleLookup.severityStyle entry. If not specified, the default lookup will be generated.
Protected getthe options object for the formatTimeString method.
Returns the style setting selected from the style lookup entries specified. If no filter matches, undefined returned.
The message to get the style string for.
A style string;
Applies the message format string to the given log message.
The formatted message string.
Processes the log message parameters in order to replace the placeholders in the message string.
The processed message string with inserted message parameters.
Applies the time format to the given log message.
The formatted message time string
Protected pushPushes a message to the message cache. The buffer is only intended to act as a temporary store until an appender enables its writable state.
Similar to receiveMessage, except the filters are not evaluated.
The message to receive and append.
The input function of an Appender for any log message. This function calls the filter evaluation, and hands the message over to the _handleMessage method, if the appender is currently writable. If the appender is not writable, the message is stored to the internal buffer.
The message that shall be received and appended.
True, if the message was handled, false otherwise.
Appends styled messages to the console. Only available on servers, i.e. terminals supporting colors.