close method
Cancels subscription to a logger stream and frees dedicated resources.
Handler.close is called as part of the Logger.close
call on the logger
this Handler is subscribed to, therefore, it is unnecessary to call
this after logger close.
Override this if additional operations are needed to free allot resources.
Implementation
@override
Future<void> close() async {
await _controller.close();
return super.close();
}