www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 23330] New: std.experimental.logger: file logger uses

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

          Issue ID: 23330
           Summary: std.experimental.logger: file logger uses OS-specific
                    path separators
           Product: D
           Version: D2
          Hardware: All
                OS: Windows
            Status: NEW
          Severity: normal
          Priority: P1
         Component: phobos
          Assignee: nobody puremagic.com
          Reporter: andrej.mitrovich gmail.com

https://github.com/dlang/phobos/blob/e7cb981fa40bd77647da3dd708c7433724c6ab30/std/logger/filelogger.d#L129

This should use the OS-specific path separator, as on Windows it doesn't strip
the path correctly due to using `/`.

--
Sep 10 2022