Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 /*
  * 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.
 */
package org.apache.marmotta.platform.core.logging;
Add file description here!

Author(s):
Sebastian Schaffert (sschaffert@apache.org)
public class WeldLoggingModule extends BaseLoggingModule {
    public WeldLoggingModule() {
    }

    
Return the default (logback) level used by this logging module. Should in most cases be INFO or WARN.

Returns:
    @Override
    public Level getDefaultLevel() {
        return .;
    }

    
Return a unique identifier for this logging module. This identifier will e.g. be used in the configuration file to store the configuration for this module. For this reason it should only consist of alpha-numeric characters plus _ and _.

Returns:
a unique identifier for the module, suitable for use in the configuration file
    @Override
    public String getId() {
        return "weld";
    }

    
Return a human-readable name for this logging module. This name is used for displaying information about the module to the user, e.g. in a configuration interface.

Returns:
a human-readable name for the module, suitable for displaying in a user interface
    @Override
    public String getName() {
        return "CDI/Weld";
    }

    
Return a collection of packages covered by this logging module. This method should be used to group together those packages that conceptually make up the functionality described by the logging module (e.g. "SPARQL").

Returns:
a collection of package names
    @Override
    public Collection<StringgetPackages() {
        return ImmutableList.of("org.jboss.weld""javax.enterprise""javax.decorator""javax.inject");
    }
New to GrepCode? Check out our FAQ X