abstract class CinnamonEventsFactory extends AnyRef
Cinnamon event API for custom events.
- Alphabetic
- By Inheritance
- CinnamonEventsFactory
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new CinnamonEventsFactory()
Abstract Value Members
-
abstract
def
createErrorEvent(descriptor: Descriptor): CinnamonEvent
Create an error log level event.
Create an error log level event.
- descriptor
the descriptor for the CinnamonEvent
- returns
CinnamonEvent scoped to the error log level
-
abstract
def
createErrorEvent(name: String): CinnamonEvent
Create an error log level event.
Create an error log level event.
- name
the name of the event
- returns
CinnamonEvent scoped to the error log level
-
abstract
def
createInfoEvent(descriptor: Descriptor): CinnamonEvent
Create an info log level event.
Create an info log level event.
- descriptor
the descriptor for the CinnamonEvent
- returns
CinnamonEvent scoped to the info log level
-
abstract
def
createInfoEvent(name: String): CinnamonEvent
Create an info log level event.
Create an info log level event.
- name
the name of the event
- returns
CinnamonEvent scoped to the info log level
-
abstract
def
createWarningEvent(descriptor: Descriptor): CinnamonEvent
Create an warning log level event.
Create an warning log level event.
- descriptor
the descriptor for the CinnamonEvent
- returns
CinnamonEvent scoped to the warning log level
-
abstract
def
createWarningEvent(name: String): CinnamonEvent
Create an warning log level event.
Create an warning log level event.
- name
the name of the event
- returns
CinnamonEvent scoped to the warning log level
This is the public API for Cinnamon.
The com.lightbend.cinnamon package contains the public Cinnamon API.
See the complete list of Cinnamon packages on the right.
Cinnamon Events and Metrics
For the custom events API see
CinnamonEvents
.For the custom metrics API see
CinnamonMetrics
.Stopwatch
For the Stopwatch API see
Stopwatch
.Coda Hale Metrics
For creating custom Coda Hale Metrics reporters see the com.lightbend.cinnamon.chmetrics.reporter package.