Am Fri, 01 Aug 2014 09:43:32 -0700 schrieb Andrei Alexandrescu <[email protected]>:
> On 8/1/14, 9:36 AM, Andrei Alexandrescu wrote: > > Oh I hadn't realized that. Thanks! That strengthens my opinion that > > more work is needed on the library before inclusion in > > std.experimental. > > To clarify: I'm very strongly opposed to a design that requires > rebuilding Phobos (or relying on different pre-built versions) for > different logging levels. That's just unacceptable. User code must be > able to set logging levels by just passing flags to their own builds. > > Andrei > It's kinda awkward how complicated the D solutions are compared to C/C++ with the preprocessor. The only simple way in D seems to be using string mixins, but these look ugly on the user side.
