ReferenceJavaScript ReferenceInterfacesLogSinkOn this pageInterface: LogSinkMethodsflush▸ Optional flush(): Promise<void>ReturnsPromise<void>log▸ log(level, context, ...args): voidParametersNameTypelevelLogLevelcontextundefined | Context...argsunknown[]Returnsvoid