coherence-community / oracle-bedrock

Oracle Bedrock
Other
55 stars 31 forks source link

Introduce the ability to format ApplicationConsole output #216

Open brianoliver opened 9 years ago

brianoliver commented 9 years ago

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.

brianoliver commented 8 years ago

This issue was imported from JIRA ORACLETOOLS-216

brianoliver commented 9 years ago

Reported by @brianoliver