com.azure.cosmos.spark.diagnostics.ILogger.scala Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-cosmos-spark_3-3_2-12 Show documentation
Show all versions of azure-cosmos-spark_3-3_2-12 Show documentation
OLTP Spark 3.3 Connector for Azure Cosmos DB SQL API
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
package com.azure.cosmos.spark.diagnostics
import com.azure.cosmos.implementation.spark.OperationListener
private[spark] trait ILogger extends OperationListener {
def logItemWriteCompletion(writeOperation: WriteOperation)
def logItemWriteSkipped(writeOperation: WriteOperation, detail: => String)
def logItemWriteFailure(writeOperation: WriteOperation)
def logItemWriteFailure(writeOperation: WriteOperation, throwable: Throwable)
def logItemWriteDetails(writeOperation: WriteOperation, detail: => String)
// Log methods that take only a String
def logInfo(msg: => String)
def logDebug(msg: => String)
def logTrace(msg: => String)
def logWarning(msg: => String)
def logError(msg: => String)
def logInfo(msg: => String, throwable: Throwable)
def isDebugLogEnabled: Boolean
def logDebug(msg: => String, throwable: Throwable)
def logTrace(msg: => String, throwable: Throwable)
def logWarning(msg: => String, throwable: Throwable)
def logError(msg: => String, throwable: Throwable)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy