01: /*******************************************************************************
02: * Copyright (c) 2006 The Regents of the University of California, The MIT Corporation
03: *
04: * Licensed under the Educational Community License, Version 1.0 (the "License");
05: * you may not use this file except in compliance with the License.
06: * You may obtain a copy of the License at
07: *
08: * http://www.opensource.org/licenses/ecl1.php
09: *
10: * Unless required by applicable law or agreed to in writing, software
11: * distributed under the License is distributed on an "AS IS" BASIS,
12: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13: * See the License for the specific language governing permissions and
14: * limitations under the License.
15: ******************************************************************************/package org.sakaiproject.tool.gradebook.facades.standalone;
16:
17: import org.sakaiproject.tool.gradebook.facades.EventTrackingService;
18: import org.apache.commons.logging.Log;
19: import org.apache.commons.logging.LogFactory;
20:
21: /**
22: * Author:Louis Majanja <louis@media.berkeley.edu>
23: * Date: Feb 22, 2007
24: * Time: 3:36:22 PM
25: *
26: *
27: * an implementation of the EventTrackingService facade for the standalalone gradebook
28: */
29: public class EventTrackingServiceStandaloneImpl implements
30: EventTrackingService {
31:
32: private static final Log log = LogFactory
33: .getLog(EventTrackingServiceStandaloneImpl.class);
34:
35: /**
36: *
37: * @param message
38: * @param referenceObject
39: */
40: public void postEvent(String message, String referenceObject) {
41: if (log.isDebugEnabled())
42: log.debug("action: " + message + " object reference:"
43: + referenceObject);
44: }
45: }
|