logog
logger optimized for games
Filters and their uses

A Filter is a special type of Topic that accepts messages from a publisher and routes them forward to another Topic, based on criteria decided by the Filter. When logog is initialized, it creates one default filter that automatically forwards all messages to all Target objects. This default behavior can be modified in to generate more complicated logging behaviors.

You can get a reference to the default filter with GetDefaultFilter(). You can also instantiate your own filters before you start logging messages and messages will automatically find and route through them as well.

Messages attempt to publish themselves to all filters when the message is instantiated. Filters automatically attempt to publish themselves to all targets when the filter is instantiated.