Package

com.persist

logging

Permalink

package logging

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. logging
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Type Members

  1. trait ActorLogging extends Actor

    Permalink

    This trait should be included in Akka Actors to enable logging.

    This trait should be included in Akka Actors to enable logging. Click the visibility All button to see protected members that are defined here. You might also want to un-click the Actor button.

  2. sealed trait AnyId extends AnyRef

    Permalink

    The trait for logging ids.

    The trait for logging ids. It can be either a RequestId io a specific request or NoId when there is no associated request.

  3. trait ClassLogging extends AnyRef

    Permalink

    This trait should be included in Scala (non-actor) classes to enable logging.

    This trait should be included in Scala (non-actor) classes to enable logging. Click the visibility All button to see protected members that are defined here.

  4. class FileAppender extends LogAppender

    Permalink

    An appender that writes log messages to files.

  5. trait LogAppender extends AnyRef

    Permalink

    Trait for log appender classes.

  6. trait LogAppenderBuilder extends AnyRef

    Permalink

    Trait for log appender companion objects.

  7. class Logger extends AnyRef

    Permalink

    This class provides the methods needed for logging.

    This class provides the methods needed for logging. It is accessed by including one of the traits ClassSupport or ActorSupport.

  8. case class LoggingSystem(system: ActorSystem, serviceName: String, serviceVersion: String, host: String, appenderBuilders: Seq[LogAppenderBuilder] = Seq(StdOutAppender, FileAppender)) extends ClassLogging with Product with Serializable

    Permalink

    system

    the actor system.

    serviceName

    name of the service (to log).

    serviceVersion

    version of the service (to log).

    host

    host name (to log).

    appenderBuilders

    optional sequence of log appenders to use. Default is to use built-in stdout and file appenders.

  9. case class RequestId(trackingId: String = UUID.randomUUID().toString, spanId: String = "0", level: Option[Level] = None) extends AnyId with Product with Serializable

    Permalink

    The logging id of a specific request.

    The logging id of a specific request.

    trackingId

    the global unique id of the request. Optional: A new unique id will be created if this is not specified.

    spanId

    a sub-id used when a a service is called multiple times for the same global request. Optional: defaults to 0.

    level

    a field for controlling per request log levels. Optional, defaults to no per request control.

  10. class RichException extends Exception

    Permalink

    The common parent of all rich exceptions.

  11. type RichMsg = Any

    Permalink
  12. case class SourceLocation(fileName: String, packageName: String, className: String, line: Int) extends Product with Serializable

    Permalink

    A position in a Scala source file.

    A position in a Scala source file.

    fileName

    the name of the file.

    packageName

    the package.

    className

    the name of the enclosing class.

    line

    a line number.

  13. class StdOutAppender extends LogAppender

    Permalink

    A log appender that write common log messages to stdout.

  14. trait Timing extends AnyRef

    Permalink

    Include this trait in classes you want to time.

Value Members

  1. object FileAppender extends LogAppenderBuilder

    Permalink

    Companion object for FileAppender class.

  2. object LoggingLevels

    Permalink
  3. object RichException extends Serializable

    Permalink

    This companion object for the RichException class.

    This companion object for the RichException class. You might want to turn off Throwable methods.

  4. object StdOutAppender extends LogAppenderBuilder

    Permalink

    Companion object for the StdOutAppender class.

  5. object noId extends AnyId with Product with Serializable

    Permalink

    The id value used in logging calls when there is no associated request.

  6. implicit macro def sourceLocation: () ⇒ SourceLocation

    Permalink
  7. def sourceLocationMacro(c: Context): scala.reflect.macros.whitebox.Context.Expr[() ⇒ SourceLocation]

    Permalink

Inherited from AnyRef

Inherited from Any

Ungrouped