Package com.codereligion.bugsnag.logback.model

Examples of com.codereligion.bugsnag.logback.model.NotificationVO


     * Converts the given logback {@link ILoggingEvent} into a bugsnag {@link NotificationVO}.
     * @param loggingEvent the event to convert
     * @return a new instance of {@link NotificationVO}
     */
    public NotificationVO convertToNotification(final ILoggingEvent loggingEvent) {
        final NotificationVO notification = new NotificationVO();
        notification.setApiKey(configuration.getApiKey());
        notification.addEvents(convertToEvents(loggingEvent));
        return notification;
    }
View Full Code Here


        if (!isStarted() || configuration.isStageIgnored() || shouldNotNotifyFor(event)) {
            return;
        }

        final NotificationVO notification = converter.convertToNotification(event);
        sender.send(notification);
    }
View Full Code Here

TOP

Related Classes of com.codereligion.bugsnag.logback.model.NotificationVO

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.