velocity-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From henn...@apache.org
Subject svn commit: r595053 - /velocity/texen/trunk/src/java/org/apache/texen/TexenLog.java
Date Wed, 14 Nov 2007 20:54:36 GMT
Author: henning
Date: Wed Nov 14 12:54:36 2007
New Revision: 595053

URL: http://svn.apache.org/viewvc?rev=595053&view=rev
Log:
A generic Logging interface for use in Texen.

Added:
    velocity/texen/trunk/src/java/org/apache/texen/TexenLog.java   (with props)

Added: velocity/texen/trunk/src/java/org/apache/texen/TexenLog.java
URL: http://svn.apache.org/viewvc/velocity/texen/trunk/src/java/org/apache/texen/TexenLog.java?rev=595053&view=auto
==============================================================================
--- velocity/texen/trunk/src/java/org/apache/texen/TexenLog.java (added)
+++ velocity/texen/trunk/src/java/org/apache/texen/TexenLog.java Wed Nov 14 12:54:36 2007
@@ -0,0 +1,41 @@
+package org.apache.texen;
+
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+/**
+ * Logging Facade to use logging in various contexts.
+ *
+ * @author <a href="mailto:dev@velocity.apache.org">The Velocity developers community</a>
+ * @version $Id$
+ */
+public interface TexenLog
+{
+    /**
+     * Log on 'info' level.
+     * @param message The message to log.
+     */
+    void info(final String message);
+
+    /**
+     * Log on 'error' level.
+     * @param message The message to log.
+     */
+    void error(final String message);
+}

Propchange: velocity/texen/trunk/src/java/org/apache/texen/TexenLog.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: velocity/texen/trunk/src/java/org/apache/texen/TexenLog.java
------------------------------------------------------------------------------
    svn:keywords = Id Author Date Revision



Mime
View raw message