Package

com.tersesystems.blindsight

scripting

Permalink

package scripting

Visibility
  1. Public
  2. All

Type Members

  1. class FileScriptHandle extends ScriptHandle

    Permalink

    A script handle that uses a direct path and verifies it.

    A script handle that uses a direct path and verifies it. Errors are sent to the reporter.

  2. class ScriptAwareLogger extends Impl

    Permalink

    A logger that runs through a script manager for every predicate.

    A logger that runs through a script manager for every predicate. The script manager is responsible for evaluating the script and return true or false. The only thing the logger does here is pass through sourcecode information and the level.

    If the script fails or throws an exception, the underlying predicate is called as the default.

  3. class ScriptBasedLocation extends AnyRef

    Permalink

    A script condition manager that returns conditions tied to a script that can evaluate based on the source code.

    A script condition manager that returns conditions tied to a script that can evaluate based on the source code.

    This can be useful when you only want some logging statements to be evaluated on a script basis.

    val location = new ScriptBasedLocation(sm, false)
    logger.debug.when(location.here) { debug =>
      debug("Hello world!")
    }
  4. trait ScriptHandle extends AnyRef

    Permalink

    A script handle returns the script source, and can say if the script is invalid.

  5. class ScriptManager extends AnyRef

    Permalink

    A script manager that parses and evaluates tweakflow scripts.

Ungrouped