Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Vibed 有 logInfo 类。如果我需要向控制台写入有关连接状态的信息,最好使用writeln什么logInfo?
writeln
logInfo
在 vibe 中,您应该始终使用 vibe 功能。正常writeln锁定输出,使其保持顺序等......但这在 vibe.d 的异步环境中是一个问题,因为它也会减慢尝试记录的其他线程。