File tree Expand file tree Collapse file tree 1 file changed +1
-6
lines changed Expand file tree Collapse file tree 1 file changed +1
-6
lines changed Original file line number Diff line number Diff line change @@ -281,12 +281,7 @@ actor LogHandlerActor {
281
281
282
282
/// The handler that is called to log a message from `NonDarwinLogger` unless `overrideLogHandler` is set on the logger.
283
283
@LogHandlerActor
284
- var logHandler : @Sendable ( String) async -> Void = { message in
285
- // Print to stdout. When using the sourcekit-lsp binary, we will have stdout redirected to stderr, so it ends up
286
- // logging to stderr. During test execution, we log to stdout, which is generally better handled than logging to
287
- // stderr by XCTest (for some reason logging to stderr will hang test execution when running tests in parallel).
288
- print ( message + " \n " )
289
- }
284
+ var logHandler : @Sendable ( String) async -> Void = { fputs ( $0 + " \n " , stderr) }
290
285
291
286
/// The queue on which we log messages.
292
287
///
You can’t perform that action at this time.
0 commit comments