Skip to content

Modern Log LogEvent Flush

Paul Squires edited this page Oct 19, 2026 · 5 revisions

Home › Logging › Logging › Sink.Flush

Sink.Flush

Flushes one sink on its own.

Syntax

Flush( )

Examples

#import "std/logs"
using logs

dim con as ConsoleSink
dim lg as Logger
lg.AddSink( @con )

lg.Info( "buffered" )

'' Logger.Flush( ) calls this on every attached sink; a sink can also be
'' flushed on its own
con.Flush( )

Library: Logging
Category: Logging
Documented under: Members

Clone this wiki locally