Package com.betfair.cougar.logging

Examples of com.betfair.cougar.logging.EventLogDefinition


      logEventLogRecord(eventLogRecord);
    }
  }
 
  private void logEventLogRecord(EventLogRecord eventLogRecord) {
    EventLogDefinition invokableLogger = registry.getInvokableLogger(eventLogRecord.getLoggerName());
    if (invokableLogger != null) {
      CougarLoggingUtils.getLogger(invokableLogger.getLogName()).log(eventLogRecord);
    } else {
      throw new CougarFrameworkException("Logger "+eventLogRecord.getLoggerName()+" is not an event logger");
    }
  }
View Full Code Here


                            responseMediaType != null ? responseMediaType.getSubtype() : "",
                            extraFields};
                }
            };
            EventLogRecord eventLogRecord = new EventLogRecord(le, null);
            EventLogDefinition invokableLogger = registry.getInvokableLogger(eventLogRecord.getLoggerName());
            if (invokableLogger != null) {
                CougarLoggingUtils.getLogger(invokableLogger.getLogName()).log(eventLogRecord);
            } else {
                throw new CougarFrameworkException("Logger "+eventLogRecord.getLoggerName()+" is not an event logger");
            }
        }
        httpRequests.incrementAndGet();
View Full Code Here

TOP

Related Classes of com.betfair.cougar.logging.EventLogDefinition

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.