Class SentryFileOutputStream

java.lang.Object
java.io.OutputStream
java.io.FileOutputStream
io.sentry.instrumentation.file.SentryFileOutputStream
All Implemented Interfaces:
Closeable, Flushable, AutoCloseable

public final class SentryFileOutputStream extends FileOutputStream
An implementation of FileOutputStream that creates a ISpan for writing operation with filename and byte count set as description

Note, that span is started when this OutputStream is instantiated via constructor and finishes when the FileOutputStream.close() is called.