www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 16256] New: std.experimental.logger cant log a dstring properly

https://issues.dlang.org/show_bug.cgi?id=16256

          Issue ID: 16256
           Summary: std.experimental.logger cant log a dstring properly
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P1
         Component: phobos
          Assignee: nobody puremagic.com
          Reporter: joeyemmons yahoo.com

void main(){
    import std.experimental.logger;
    log("123456789"d);
}

Outputs 
2016-07-09T03:30:11.093:main.d:main:3
112123123412345123456123456712345678123456789

Looks like it is incrementally printing arg[0..n] for n = 1 to arg.length

--
Jul 09 2016