skinny.util

TimeLogging

trait TimeLogging extends Logging

Time logging for the block.

class RootController extends ApplicationController {
def doSomething = {
Thread.sleep(10)
"AAAA"
}

def index = {
val result = warnElapsedTime(1) {
doSomething
}
render("/root/index")
}
Linear Supertypes
Logging, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. TimeLogging
  2. Logging
  3. AnyRef
  4. Any
  1. Hide All
  2. Show all
Learn more about member selection
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[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. def debug(msg: ⇒ Any, t: ⇒ Throwable): Unit

    Issue a debug logging message, with an exception.

    Issue a debug logging message, with an exception.

    Attributes
    protected
    Definition Classes
    Logging
  7. def debug(msg: ⇒ Any): Unit

    Issue a debug logging message.

    Issue a debug logging message.

    Attributes
    protected
    Definition Classes
    Logging
  8. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  9. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  10. def error(msg: ⇒ Any, t: ⇒ Throwable): Unit

    Issue a trace logging message, with an exception.

    Issue a trace logging message, with an exception.

    Attributes
    protected
    Definition Classes
    Logging
  11. def error(msg: ⇒ Any): Unit

    Issue a trace logging message.

    Issue a trace logging message.

    Attributes
    protected
    Definition Classes
    Logging
  12. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  14. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  15. def info(msg: ⇒ Any, t: ⇒ Throwable): Unit

    Issue a trace logging message, with an exception.

    Issue a trace logging message, with an exception.

    Attributes
    protected
    Definition Classes
    Logging
  16. def info(msg: ⇒ Any): Unit

    Issue a trace logging message.

    Issue a trace logging message.

    Attributes
    protected
    Definition Classes
    Logging
  17. def isDebugEnabled: Boolean

    Determine whether debug logging is enabled.

    Determine whether debug logging is enabled.

    Attributes
    protected
    Definition Classes
    Logging
  18. def isErrorEnabled: Boolean

    Determine whether trace logging is enabled.

    Determine whether trace logging is enabled.

    Attributes
    protected
    Definition Classes
    Logging
  19. def isInfoEnabled: Boolean

    Determine whether trace logging is enabled.

    Determine whether trace logging is enabled.

    Attributes
    protected
    Definition Classes
    Logging
  20. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  21. def isTraceEnabled: Boolean

    Determine whether trace logging is enabled.

    Determine whether trace logging is enabled.

    Attributes
    protected
    Definition Classes
    Logging
  22. def isWarnEnabled: Boolean

    Determine whether trace logging is enabled.

    Determine whether trace logging is enabled.

    Attributes
    protected
    Definition Classes
    Logging
  23. def logger: Logger

    Get the Logger for the class that mixes this trait in.

    Get the Logger for the class that mixes this trait in. The Logger is created the first time this method is call. The other methods (e.g., error, info, etc.) call this method to get the logger.

    Attributes
    protected
    Definition Classes
    Logging
  24. def loggerName: String

    Get the name associated with this logger.

    Get the name associated with this logger.

    Attributes
    protected
    Definition Classes
    Logging
  25. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  26. final def notify(): Unit

    Definition Classes
    AnyRef
  27. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  28. def stackTraceDepthForTimeLogging: Int

    Attributes
    protected
  29. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  30. def toString(): String

    Definition Classes
    AnyRef → Any
  31. def trace(msg: ⇒ Any, t: ⇒ Throwable): Unit

    Issue a trace logging message, with an exception.

    Issue a trace logging message, with an exception.

    Attributes
    protected
    Definition Classes
    Logging
  32. def trace(msg: ⇒ Any): Unit

    Issue a trace logging message.

    Issue a trace logging message.

    Attributes
    protected
    Definition Classes
    Logging
  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( ... )
  36. def warn(msg: ⇒ Any, t: ⇒ Throwable): Unit

    Issue a trace logging message, with an exception.

    Issue a trace logging message, with an exception.

    Attributes
    protected
    Definition Classes
    Logging
  37. def warn(msg: ⇒ Any): Unit

    Issue a trace logging message.

    Issue a trace logging message.

    Attributes
    protected
    Definition Classes
    Logging
  38. def warnElapsedTime[A](millis: Long, additionalLines: ⇒ Seq[String] = Nil)(action: ⇒ A): A

Inherited from Logging

Inherited from AnyRef

Inherited from Any

Ungrouped