View Javadoc
1   /*
2    * Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE
3    * file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file
4    * to You under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the
5    * License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by
6    * applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS,
7    * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language
8    * governing permissions and limitations under the License.
9    */
10  package org.apache.commons.logging.security;
11  
12  import org.apache.commons.logging.Log;
13  import org.apache.commons.logging.LogFactory;
14  
15  public class DummyClass {
16  
17      public DummyClass() {
18          final Log log = LogFactory.getLog(DummyClass.class);
19          log.info("Some log message");
20      }
21  }