Bug 23840 – log(str) is not work

Status
NEW
Severity
major
Priority
P1
Component
phobos
Product
D
Version
D2
Platform
x86_64
OS
Linux
Creation time
2023-04-15T15:55:55Z
Last change time
2024-12-01T16:41:16Z
Assigned to
No Owner
Creator
1499874170
Moved to GitHub: phobos#10520 →

Comments

Comment #0 by 1499874170 — 2023-04-15T15:55:55Z
For std/logger/package.d The comments tell me: The easiest way to create a log message is to write: ------------- import std.logger; void main() { log("Hello World"); } ------------- But I created a test project: (test.d) import std.logger; void main(string[] args) { log("test"); } It is not any output. But if I change it: (test.d) import std.logger; void main(string[] args) { log(LogLevel.info, "test"); } It is working.
Comment #1 by robert.schadek — 2024-12-01T16:41:16Z
THIS ISSUE HAS BEEN MOVED TO GITHUB https://github.com/dlang/phobos/issues/10520 DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB