nl.grons.sentries
The mixin trait for classes that want to construct sentries.
Main usage pattern is as follows:
class YourClass extends nl.grons.sentries.SentrySupport { private[this] sentry = sentry("resourceName") withXXX() withYYY() }
For the available withXXX methods use auto completion or see nl.grons.sentries.support.SentryBuilder.
withXXX
Returns a new sentry builder with the current class as owner.
Returns the default SentriesRegistry.
Returns the default SentriesRegistry. Override to use another.
The mixin trait for classes that want to construct sentries.
Main usage pattern is as follows:
For the available
withXXX
methods use auto completion or see nl.grons.sentries.support.SentryBuilder.