LoggingFileSystemInterceptor

class LoggingFileSystemInterceptor(logger: (message: () -> String) -> Unit, logEvents: LoggingFileSystemInterceptor.LoggingEvents = LoggingEvents(), operationLevels: Map<FileSystemOperation<*, *, *>, LoggingFileSystemInterceptor.LoggingEvents> = emptyMap()) : FileSystemInterceptor(source)

Constructors

Link copied to clipboard
constructor(logger: (message: () -> String) -> Unit, logEvents: LoggingFileSystemInterceptor.LoggingEvents = LoggingEvents(), operationLevels: Map<FileSystemOperation<*, *, *>, LoggingFileSystemInterceptor.LoggingEvents> = emptyMap())

Types

Link copied to clipboard
object Companion
Link copied to clipboard
data class LoggingEvents(val start: LoggingFileSystemInterceptor.LoggingEvents.OperationStart = OperationStart(inputs = NONE), val end: LoggingFileSystemInterceptor.LoggingEvents.OperationEnd = OperationEnd())

Functions

Link copied to clipboard
open override fun <I : Any, E : FileSystemOperationError, R : Any> intercept(chain: FileSystemInterceptor.Chain<I, E, R>): Either<E, R>