Return-Path: Delivered-To: apmail-velocity-commits-archive@locus.apache.org Received: (qmail 71835 invoked from network); 14 Nov 2007 20:54:57 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 14 Nov 2007 20:54:57 -0000 Received: (qmail 15351 invoked by uid 500); 14 Nov 2007 20:54:45 -0000 Delivered-To: apmail-velocity-commits-archive@velocity.apache.org Received: (qmail 15323 invoked by uid 500); 14 Nov 2007 20:54:45 -0000 Mailing-List: contact commits-help@velocity.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@velocity.apache.org Delivered-To: mailing list commits@velocity.apache.org Received: (qmail 15314 invoked by uid 99); 14 Nov 2007 20:54:45 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Nov 2007 12:54:45 -0800 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.3] (HELO eris.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Nov 2007 20:54:43 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 0D6C91A983A; Wed, 14 Nov 2007 12:54:37 -0800 (PST) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r595053 - /velocity/texen/trunk/src/java/org/apache/texen/TexenLog.java Date: Wed, 14 Nov 2007 20:54:36 -0000 To: commits@velocity.apache.org From: henning@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20071114205437.0D6C91A983A@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org 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 The Velocity developers community + * @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