Package

com.twitter

inject

Permalink

package inject

Visibility
  1. Public
  2. All

Type Members

  1. trait Logging extends util.logging.Logging

    Permalink

    Mix this trait into a class/object to get helpful logging methods.

    Mix this trait into a class/object to get helpful logging methods.

    Annotations
    @JsonIgnoreProperties()
    Note

    This trait simply adds several methods to the com.twitter.util.logging.Logging trait. The methods below are used as so: Before:

    def foo = {
      val result = 4 + 5
      debugFutureResult("Foo returned " + result)
      result
    }

    After:

    def foo = {
      debugFutureResult("Foo returned %s") {
        4 + 5
      }
    }

Value Members

  1. package logging

    Permalink

Ungrouped