
org.eclipse.ditto.base.api.devops.LoggingFacade Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ditto-base-api Show documentation
Show all versions of ditto-base-api Show documentation
Eclipse Ditto is a framework for creating and managing digital twins in the IoT.
/*
* Copyright (c) 2017 Contributors to the Eclipse Foundation
*
* See the NOTICE file(s) distributed with this work for additional
* information regarding copyright ownership.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License 2.0 which is available at
* http://www.eclipse.org/legal/epl-2.0
*
* SPDX-License-Identifier: EPL-2.0
*/
package org.eclipse.ditto.base.api.devops;
import java.util.List;
/**
* Abstraction for logging implementations.
*/
public interface LoggingFacade {
/**
* Sets the {@code LogLevel} specified in the given {@code loggerConfig}.
*
* @param loggerConfig the LoggerConfig.
* @return whether or not the LogLevel is applied successfully.
*/
boolean setLogLevel(LoggerConfig loggerConfig);
/**
* Returns the {@code LoggerConfig} for all known loggers.
*
* @return the LoggerConfig for all known loggers.
*/
List getLoggerConfig(boolean includeDisabledLoggers);
/**
* Returns the {@code LoggerConfig}s for the specified {@code loggerNames}.
*
* @param loggerNames the logger names.
* @return the LoggerConfigs for the specified logger names.
*/
List getLoggerConfig(Iterable loggerNames);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy