/*******************************************************************************
* Copyright (c) 2011 - 2014 Wind River Systems, Inc. and others. All rights reserved.
* This program and the accompanying materials are made available under the terms
* of the Eclipse Public License v1.0 which accompanies this distribution, and is
* available at http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* Wind River Systems - initial API and implementation
*******************************************************************************/
package org.eclipse.tcf.te.tcf.log.core.interfaces;
/**
* TCF logging bundle preference key identifiers.
*/
public interface IPreferenceKeys {
/**
* Common prefix for all core preference keys
*/
public final String PREFIX = "te.tcf.log.core."; //$NON-NLS-1$
/**
* If set to <code>true</code>, back-end communication is logged.
*/
public final String PREF_LOGGING_ENABLED = PREFIX + "enabled"; //$NON-NLS-1$
/**
* If set to <code>true</code>, the logger will send events to the monitor
* to allow following the back-end communication within the UI.
*/
public final String PREF_MONITOR_ENABLED = PREFIX + "monitor.enabled"; //$NON-NLS-1$
/**
* If set to <code>true</code>, locator events are logged.
*/
public final String PREF_SHOW_LOCATOR_EVENTS = PREFIX + "show.locatorEvents"; //$NON-NLS-1$
/**
* If set to <code>true</code>, locator heart beat events are logged.
*/
public final String PREF_SHOW_HEARTBEATS = PREFIX + "show.heartbeats"; //$NON-NLS-1$
/**
* If set to <code>true</code>, TCF framework events are logged.
*/
public final String PREF_SHOW_FRAMEWORK_EVENTS = PREFIX + "show.frameworkEvents"; //$NON-NLS-1$
/**
* The maximum number of bytes the log files are allowed to grow to, in bytes.
* Defaults to 5MB.
*/
public final String PREF_MAX_FILE_SIZE = PREFIX + "limits.fileSize"; //$NON-NLS-1$
/**
* The maximum number of files kept in the cycle.
* Defaults to 5.
*/
public final String PREF_MAX_FILES_IN_CYCLE = PREFIX + "limits.inCycle"; //$NON-NLS-1$
}