destroy method

  1. @override
void destroy()
override

Destroys the logger and releases any resources

Implementation

@override
void destroy() {
  _controller.close();
  _destroyed = true;
}