Packages

trait Logging extends AnyRef

Utility trait for classes that want to log data. Creates a SLF4J logger for the class and allows logging messages at different levels using methods that only evaluate parameters lazily if the log level is enabled.

Source
Logging.scala
Linear Supertypes
AnyRef, Any
Known Subclasses
BarrierTaskContext, SparkConf, SparkContext, SparkContext, SparkEnv, SparkEnv, Broadcast, EdgeRDD, GraphLoader, Pregel, VertexRDD, EdgeRDDImpl, VertexRDDImpl, PageRank, GraphGenerators, FileCommitProtocol, FileCommitProtocol, HadoopMapRedCommitProtocol, HadoopMapReduceCommitProtocol, SparkHadoopMapRedUtil, GarbageCollectionMetrics, Estimator, Model, Pipeline, PipelineModel, PipelineStage, PredictionModel, Predictor, Transformer, UnaryTransformer, ClassificationModel, Classifier, DecisionTreeClassificationModel, DecisionTreeClassifier, GBTClassificationModel, GBTClassifier, LinearSVC, LinearSVCModel, LogisticRegression, LogisticRegressionModel, MultilayerPerceptronClassificationModel, MultilayerPerceptronClassifier, NaiveBayes, NaiveBayesModel, OneVsRest, OneVsRestModel, ProbabilisticClassificationModel, ProbabilisticClassifier, RandomForestClassificationModel, RandomForestClassifier, BisectingKMeans, BisectingKMeansModel, DistributedLDAModel, GaussianMixture, GaussianMixtureModel, KMeans, KMeansModel, LDA, LDAModel, LocalLDAModel, Binarizer, Bucketizer, ChiSqSelector, ChiSqSelectorModel, CountVectorizer, CountVectorizerModel, DCT, ElementwiseProduct, FeatureHasher, HashingTF, IDF, IDFModel, Imputer, ImputerModel, IndexToString, Interaction, MaxAbsScaler, MaxAbsScalerModel, MinMaxScaler, MinMaxScalerModel, NGram, Normalizer, OneHotEncoder, OneHotEncoderModel, PCA, PCAModel, PolynomialExpansion, QuantileDiscretizer, QuantileDiscretizer, RFormula, RFormulaModel, RegexTokenizer, RobustScaler, RobustScalerModel, SQLTransformer, StandardScaler, StandardScalerModel, StopWordsRemover, StringIndexer, StringIndexerModel, Tokenizer, VectorAssembler, VectorIndexer, VectorIndexerModel, VectorSizeHint, VectorSlicer, Word2Vec, Word2VecModel, FPGrowth, FPGrowthModel, ALS, ALS, ALSModel, AFTSurvivalRegression, AFTSurvivalRegressionModel, DecisionTreeRegressionModel, DecisionTreeRegressor, GBTRegressionModel, GBTRegressor, GeneralizedLinearRegression, GeneralizedLinearRegressionModel, IsotonicRegression, IsotonicRegressionModel, LinearRegression, LinearRegressionModel, RandomForestRegressionModel, RandomForestRegressor, RegressionModel, Regressor, Summarizer, CrossValidator, CrossValidatorModel, CrossValidatorModelWriter, TrainValidationSplit, TrainValidationSplitModel, TrainValidationSplitModelWriter, GeneralMLWriter, MLWriter, LogisticRegressionWithLBFGS, LogisticRegressionWithSGD, NaiveBayes, SVMWithSGD, StreamingLogisticRegressionWithSGD, BisectingKMeans, BisectingKMeansModel, KMeans, LDA, OnlineLDAOptimizer, PowerIterationClustering, StreamingKMeans, StreamingKMeansModel, BinaryClassificationMetrics, RankingMetrics, RegressionMetrics, StandardScaler, Word2Vec, AssociationRules, FPGrowth, PrefixSpan, PrefixSpan, BlockMatrix, RowMatrix, GradientDescent, GradientDescent, LBFGS, LBFGS, ALS, MatrixFactorizationModel, GeneralizedLinearAlgorithm, LassoWithSGD, LinearRegressionWithSGD, RidgeRegressionWithSGD, StreamingLinearAlgorithm, StreamingLinearRegressionWithSGD, StreamingTest, DecisionTree, DecisionTree, GradientBoostedTrees, GradientBoostedTrees, RandomForest, DecisionTreeModel, Node, DataValidators, MLUtils, AsyncRDDActions, CoGroupedRDD, DoubleRDDFunctions, HadoopRDD, JdbcRDD, NewHadoopRDD, OrderedRDDFunctions, PairRDDFunctions, PartitionPruningRDD, RDD, SequenceFileRDDFunctions, ShuffledRDD, UnionRDD, InputFormatInfo, StatsReportListener, KryoSerializer, Column, ColumnName, DataFrameReader, SQLContext, SparkSession, SparkSession, Builder, TypedColumn, UDFRegistration, HiveFileFormat, DataStreamReader, StreamingQueryManager, ExecutionListenerManager, BasicBlockReplicationPolicy, DefaultTopologyMapper, FileBasedTopologyMapper, RandomBlockReplicationPolicy, StreamingContext, StreamingContext, ConstantInputDStream, DStream, InputDStream, MapWithStateDStream, ReceiverInputDStream, SizeEstimator
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Logging
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  8. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  9. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  10. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  11. def initializeForcefully(isInterpreter: Boolean, silent: Boolean): Unit
  12. def initializeLogIfNecessary(isInterpreter: Boolean, silent: Boolean = false): Boolean
    Attributes
    protected
  13. def initializeLogIfNecessary(isInterpreter: Boolean): Unit
    Attributes
    protected
  14. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  15. def isTraceEnabled(): Boolean
    Attributes
    protected
  16. def log: Logger
    Attributes
    protected
  17. def logDebug(msg: ⇒ String, throwable: Throwable): Unit
    Attributes
    protected
  18. def logDebug(msg: ⇒ String): Unit
    Attributes
    protected
  19. def logError(msg: ⇒ String, throwable: Throwable): Unit
    Attributes
    protected
  20. def logError(msg: ⇒ String): Unit
    Attributes
    protected
  21. def logInfo(msg: ⇒ String, throwable: Throwable): Unit
    Attributes
    protected
  22. def logInfo(msg: ⇒ String): Unit
    Attributes
    protected
  23. def logName: String
    Attributes
    protected
  24. def logTrace(msg: ⇒ String, throwable: Throwable): Unit
    Attributes
    protected
  25. def logTrace(msg: ⇒ String): Unit
    Attributes
    protected
  26. def logWarning(msg: ⇒ String, throwable: Throwable): Unit
    Attributes
    protected
  27. def logWarning(msg: ⇒ String): Unit
    Attributes
    protected
  28. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  29. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  30. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  31. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  32. def toString(): String
    Definition Classes
    AnyRef → Any
  33. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  34. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  35. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()

Inherited from AnyRef

Inherited from Any

Ungrouped