Sometimes we need to control the format of the ApplicationConsole output, especially for diagnostic purposes.
To achieve this we should introduce the ability to format Console output, say like java.util.logging.
Essentially we'd allow a format string to be provided when an ApplicationConsole/Builder is being created. The format string would then be used for format the output.
Sometimes we need to control the format of the ApplicationConsole output, especially for diagnostic purposes.
To achieve this we should introduce the ability to format Console output, say like java.util.logging.
Essentially we'd allow a format string to be provided when an ApplicationConsole/Builder is being created. The format string would then be used for format the output.
eg: $1 = platform name, $2 = application name, $3=device (stderr/out), $4=processid, $5=line number, $6=timestamp, $7=content
Theoretically we could also support Java Expression Language (see #219, though the performance would probably be pretty bad.