W3cubDocs

/Crystal

abstract class Log::Backend

Overview

Base class for all backends.

Direct Known Subclasses

Defined in:

log/backend.cr

Instance Method Summary

Instance Method Detail

def closeSource

Closes underlying resources used by this backend.

abstract def write(entry : Entry)Source

Writes the entry to this backend.

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