01: //========================================================================
02: //$Id: PluginLog.java 215 2006-02-15 09:43:07Z janb $
03: //Copyright 2000-2005 Mort Bay Consulting Pty. Ltd.
04: //------------------------------------------------------------------------
05: //Licensed under the Apache License, Version 2.0 (the "License");
06: //you may not use this file except in compliance with the License.
07: //You may obtain a copy of the License at
08: //http://www.apache.org/licenses/LICENSE-2.0
09: //Unless required by applicable law or agreed to in writing, software
10: //distributed under the License is distributed on an "AS IS" BASIS,
11: //WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12: //See the License for the specific language governing permissions and
13: //limitations under the License.
14: //========================================================================
15:
16: package org.mortbay.jetty.plugin.util;
17:
18: import org.apache.maven.plugin.logging.Log;
19:
20: /**
21: * PluginLog
22: *
23: * Convenience class to provide access to the plugin
24: * Log for non-mojo classes.
25: *
26: */
27: public class PluginLog {
28: private static Log log = null;
29:
30: public static void setLog(Log l) {
31: log = l;
32: }
33:
34: public static Log getLog() {
35: return log;
36: }
37:
38: }
|