Manual NIO dependencies factory's preparation
The responsibility of creating the NonBlockingFileIO
and the processing EventLoopGroup
has been moved to the client so that client's can cleanly shut them down when their application is shuts down.
What this means is that the LogHandler
factory must now be prepared with the NIO dependencies manually, they are no longer created automatically.
StackdriverLogHandlerFactory.prepare(with: configuration,
fileIO: fileIO,
eventLoopGroup: eventLoopGroup)