Re: Using_string_mixins_for_logging error

2020-07-16 Thread WebFreak001 via Digitalmars-d-learn
On Wednesday, 15 July 2020 at 07:36:49 UTC, Vitalii wrote: Many thanks! I have now deprecated the old wiki page and linked to a new one with more examples: https://wiki.dlang.org/Logging_mechanisms

Re: Using_string_mixins_for_logging error

2020-07-15 Thread Vitalii via Digitalmars-d-learn
Many thanks!

Re: Using_string_mixins_for_logging error

2020-07-15 Thread WebFreak001 via Digitalmars-d-learn
On Wednesday, 15 July 2020 at 07:07:55 UTC, Vitalii wrote: Hello everyone! I try to compile this recipe with dmd (2.089.0), ldc2 (1.18.0): https://wiki.dlang.org/Using_string_mixins_for_logging but get the same error: mixin_log.d(64): Error: basic type expected, not __FUNCTION__ mixin_log.d(64)

Using_string_mixins_for_logging error

2020-07-15 Thread Vitalii via Digitalmars-d-learn
Hello everyone! I try to compile this recipe with dmd (2.089.0), ldc2 (1.18.0): https://wiki.dlang.org/Using_string_mixins_for_logging but get the same error: mixin_log.d(64): Error: basic type expected, not __FUNCTION__ mixin_log.d(64): Error: declaration expected, not __FUNCTION__ in that par