Re: opDispatch and compile time parameters

2015-10-18 Thread David Osborne via Digitalmars-d
On Saturday, 17 October 2015 at 15:31:00 UTC, Nikolay wrote: I asked on SO question about opDispatch and compile time parameters: http://stackoverflow.com/questions/32998781/opdispatch-and-compile-time-parameters [...] Is it good idea for opDispatch improvement or may there is some other

Suggestion/proposal regarding std.logger candidate

2014-05-24 Thread David Osborne via Digitalmars-d
Yesterday, in the livestream chat, there was some discussion about the current std.logger proposal. The consensus seemed to be that it's probably fine for most use cases and it's the best proposal we've had so far, it doesn't look suitable for heavy duty, enterprise-grade logging. In an ideal

Re: Suggestion/proposal regarding std.logger candidate

2014-05-24 Thread David Osborne via Digitalmars-d
Just to be clear, what I am suggesting/proposing is that the current Logger class in std.logger be altered so that it looks more like this, with filter, format and sink template arguments that determine its behaviour, instead of using an inheritance-based approach.