module Log::Dispatcher

Overview

Base interface implemented by log entry dispatchers

Dispatchers are in charge of sending log entries according to different strategies.

Direct including types

Defined in:

log/dispatch.cr

Instance Method Summary

Instance Method Detail

def closeSource

Close the dispatcher, releasing resources

abstract def dispatch(entry : Entry, backend : Backend)Source

Dispatch a log entry to the specified backend

© 2012–2021 Manas Technology Solutions.
Licensed under the Apache License, Version 2.0.
https://crystal-lang.org/api/1.2.1/Log/Dispatcher.html