Namespace Akka.Event
Classes
ActorEventBus<TEvent, TClassifier>
This class represents an EventBus<TEvent, TClassifier, TSubscriber> where the subscriber type is an IActorRef.
AllDeadLetters
Represents a message that could not be delivered to it's recipient. This message wraps the original message, the sender and the intended recipient of the message.
Subscribe to this class to be notified about all DeadLetter (also the suppressed ones) and Dropped.
BusLogging
A logging adapter implementation publishing log events to the event stream.
DeadLetter
When a message is sent to an Actor that is terminated before receiving the message, it will be sent as a DeadLetter to the ActorSystem's EventStream
DeadLetterListener
This class represents an actor responsible for listening to DeadLetter messages and logging them using the EventStream.
Debug
This class represents a Debug log event.
DefaultLogger
Default logger implementation that outputs logs to the Console.
DefaultLogMessageFormatter
This class represents an ILoggingAdapter implementation that uses Format(String, Object[]) to format log messages.
Dropped
Envelope that is published on the eventStream wrapped in DeadLetter for every message that is dropped due to overfull queues or routers with no routees.
When this message was sent without a sender IActorRef, sender
will be NoSender , i.e. null
.
DummyClassForStringSources
This class represents a marker which is inserted as originator class into LogEvent when the string representation was supplied directly.
Error
This class represents a Error log event.
EventBus<TEvent, TClassifier, TSubscriber>
This class provides base publish/subscribe functionality for working with events inside the system.
EventStream
The EventStream is a pub-sub stream of events that can be both system and user generated.
The subscribers are IActorRef instances and events can be any object. Subscriptions are hierarchical meaning that if you listen to an event for a particular type you will receive events for that type and any sub types.
If the debug flag is activated any operations on the event stream will be published as debug level events.
EventStreamExtensions
Extension methods for the EventStream class.
ExactMatchLogSourceFilter
Info
This class represents an Info log event.
InitializeLogger
This class represents a message used to initialize a logger.
LogEvent
This class represents a logging event in the system.
LogFilterBase
Base class for all log filters
LogFilterBuilder
Can be used to build a set of log filters to be used in conjunction with the LogFilterSetup.
LogFilterEvaluator
Runs inside the logging actor and evaluates if a log message should be kept.
LogFilterSetup
Used to specify filters that can be used to curtail noise from sources in the Akka.NET log stream.
LoggerInitialized
This class represents a message used to notify subscribers that a logger has been initialized.
LoggerMailbox
Mailbox type used by loggers
Logging
This class provides the functionality for creating logger instances and helpers for converting to/from LogLevel values.
LoggingAdapterBase
This class represents the base logging adapter implementation used to log events within the system.
LoggingBus
This class represents an event bus which subscribes loggers to system LogEvents.
LoggingExtensions
LogMessage
Represents a log message which is composed of a format string and format args.
LogMessageExtensions
Extension methods for creating LogMessage instances.
MinimalLogger
NoLogger
This class represents an ILoggingAdapter implementation used when messages are to be dropped instead of logged.
RegexLogMessageFilter
RegexLogSourceFilter
Uses a regular expression to filter log messages based on their source.
StandardOutLogger
This class represents an event logger that logs its messages to standard output (e.g. the console).
Subscription<TSubscriber, TClassifier>
Represents a Subscription to the EventBus.
SuppressedDeadLetter
Similar to DeadLetter with the slight twist of NOT being logged by the default dead letters listener. Messages which end up being suppressed dead letters are internal messages for which ending up as dead-letter is both expected and harmless.
TraceLogger
This class represents an event logger that logs its messages using a configured trace listener.
akka {
...
loggers = [""Akka.Event.TraceLogger, Akka""]
...
}
Further configuration may be required in your main configuration (e.g. app.config or web.config)
to properly set up the trace. See here
for more information regarding .NET tracing.
UnhandledMessage
This message is published to the EventStream whenever an Actor receives a message it doesn't understand
Warning
This class represents a Warning log event.
Structs
LogSource
This object holds predefined formatting rules for log sources.
In case an ActorSystem is provided, the following apply:
Interfaces
IDeadLetterSuppression
Use with caution: Messages extending this trait will not be logged by the default dead-letters listener. Instead they will be wrapped as SuppressedDeadLetter and may be subscribed for explicitly.
ILoggerMessageQueueSemantics
Semantics needed for loggers
ILoggingAdapter
This interface describes the methods used to log events within the system.
ILogMessageFormatter
This interface describes the methods used to format log messages.
Enums
LogFilterDecision
LogFilterType
LogLevel
Enumeration representing the various log levels in the system.