* Cleans up resources (streams, event listeners) for all transports * associated with this instance (if necessary). * @returns {Logger} - TODO: add return description.
()
| 433 | * @returns {Logger} - TODO: add return description. |
| 434 | */ |
| 435 | close() { |
| 436 | this.exceptions.unhandle(); |
| 437 | this.rejections.unhandle(); |
| 438 | this.clear(); |
| 439 | this.emit('close'); |
| 440 | return this; |
| 441 | } |
| 442 | |
| 443 | /** |
| 444 | * Sets the `target` levels specified on this instance. |
no test coverage detected