Bug 15954 – std.experimental.logger repeats wstring message

Status
RESOLVED
Resolution
FIXED
Severity
minor
Priority
P1
Component
phobos
Product
D
Version
D2
Platform
All
OS
Windows
Creation time
2016-04-25T15:37:56Z
Last change time
2020-03-21T03:56:33Z
Assigned to
No Owner
Creator
Jesse Phillips

Comments

Comment #0 by Jesse.K.Phillips+D — 2016-04-25T15:37:56Z
When using std.experimental.logger to log a wstring, the message is repeated multiple times, but only in pieces. ------------------ import std.conv; import std.experimental.logger; void main() { log("123456789".to!wstring); } ------------------- 2016-04-25T08:37:26.217:test.d:main:5 112123123412345123456123456712345678123456789
Comment #1 by rburners — 2016-04-26T09:38:37Z
hm, strange. it also duplicates the string for to!dstring, but not for to!string. I'm working on it
Comment #2 by n8sh.secondary — 2017-11-30T17:51:27Z