src/main/java/seedu/address/commons/core/EventsCenterSingleton.java
public EventsCenterSingleton post(BaseEvent event) {
        logger.info(
                "------[Event Posted] " + event.getClass().getCanonicalName() + ": " + event.toString());
        eventBus.post(event);
        return this;
    }
/**
     * Posts an event to the event bus.
     */
Posts an event to the event bus.
Posts an event to the event bus .
public EventsCenterSingleton post(BaseEvent event) {
        logger.info(
                "------[Event Posted] " + event.getClass().getCanonicalName() + ": " + event.toString());
        eventBus.post(event);
        return this;
    }
public EventsCenterSingleton post ( BaseEvent event ) { logger . info ( "------[Event Posted] " + event . getClass ( ) . getCanonicalName ( ) + ": " + event . toString ( ) ) ; eventBus . post ( event ) ; return this ; }
Posts an event to the event bus.
Posts an event to the event bus .