LogoRobo.js
Framework

DrainHandle

Interface: DrainHandle

Handle returned when adding a drain to the logger. Provides methods to remove the drain and flush pending writes.

Properties

PropertyTypeDescription
flush() => Promise<void>Flush pending writes for this drain.
idstringUnique identifier for this drain.
remove() => booleanRemove this drain from the logger.

On this page