| 1 | /* |
| 2 | * Copyright (C) 2014 - Christian Babeux <christian.babeux@efficios.com> |
| 3 | * |
| 4 | * |
| 5 | * This library is free software; you can redistribute it and/or modify it |
| 6 | * under the terms of the GNU Lesser General Public License, version 2.1 only, |
| 7 | * as published by the Free Software Foundation. |
| 8 | * |
| 9 | * This library is distributed in the hope that it will be useful, but WITHOUT |
| 10 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
| 11 | * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License |
| 12 | * for more details. |
| 13 | * |
| 14 | * You should have received a copy of the GNU Lesser General Public License |
| 15 | * along with this library; if not, write to the Free Software Foundation, |
| 16 | * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
| 17 | */ |
| 18 | |
| 19 | package org.lttng.ust.agent; |
| 20 | |
| 21 | import java.util.Iterator; |
| 22 | |
| 23 | interface LogFramework { |
| 24 | Boolean enableLogger(String name); |
| 25 | Boolean disableLogger(String name); |
| 26 | Iterator<String> listLoggers(); |
| 27 | Boolean isRoot(); |
| 28 | void reset(); |
| 29 | void setEnableRefCountDecrement(boolean enableRefCountDecrement); |
| 30 | } |