std.log available for viewing

David Nadlinger see at klickverbot.at
Sun May 29 15:45:12 PDT 2011


On 5/29/11 11:43 PM, Masahiro Nakagawa wrote:
> - every, first, after
> These are useful? I can't image the use cases.
> I think 'when(cond)' is enough.

These can be quite useful when logging from a function that is called 
really frequently, where logging all calls would just flood the logs, 
but you want to output some stats occasionally.

David


More information about the Digitalmars-d mailing list