Small improvements to the logger (This week in Self)

Russell Allen mail at russell-allen.com
Mon Dec 8 02:56:22 UTC 2014


A new version of the system log has been pushed with slightly improved integration with existing system messages (which were mostly just printLines). It also by default prints with a small number of nice colours for warnings, errors and fatal messages. As a failsafe, if the scheduler is not started, it dumps the message to STDOUT marked with '*unlogged*'.

There is also a new method:  log resetToSimplePrinting

This resets everything so it looks the same as before logging was installed. 

All this is in the logger branch on Github.com/russellallen/self

:) Russell





More information about the Self-interest mailing list