Skip to content

mintmousse.flushLogs

Thread-safe function to call flush function callbacks per sink. On the main thread, it also processes global sinks.

Synopsis

mintmousse.flushLogs( forced )

Parameters

forced boolean (false)
Used to override the thread lock and immediately flush the buffer. This parameter is used internally during a crash state, and not recommended to be used in practice.

Returns

Nothing.

Examples

mintmousse.flushLogs()

mintmousse.flushLogs(true)

See Also