On Monday, 20 August 2018 at 13:14:14 UTC, Andrey wrote: Mistake... this is: >static void log(bool newline = true)(string text) >{ > alias print(T...) = newline ? &writeln : &write; > > _file.print(text); > text.print(); >}