Uploaded image for project: 'Mahout'
  1. Mahout
  2. MAHOUT-1716

Scala logging style

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.10.2
    • None
    • None

    Description

      Enable concise logging e.g.

      trace(s"blha blah $variable") and
      traceDo {
      ...
      }

      note that since parameter has really late binding type (message : => String), the debug string is never computed unless the proper debug level is enabled.

      PR https://github.com/apache/mahout/pull/135

      Attachments

        Activity

          People

            dlyubimov Dmitriy Lyubimov
            dlyubimov Dmitriy Lyubimov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: