Represents an observer function type that handles logging or monitoring events.
The main message or payload to be observed. Can be either a string or an object.
Optional
Optional additional contextual information associated with the message.
Represents an observer function type that handles logging or monitoring events.