diff options
author | Thomas Watson | 2004-02-03 18:28:04 +0000 |
---|---|---|
committer | Thomas Watson | 2004-02-03 18:28:04 +0000 |
commit | 8e41d1e5598d8b9bc90bfebb6750501d2de0f887 (patch) | |
tree | 0e2d14525146cd7bd28adeca85d6ab66ae0abcfd /bundles/org.eclipse.osgi/supplement/src/org/eclipse/osgi/framework/log/FrameworkLogEntry.java | |
parent | 97ec63434e003e6383d3575f62425aac1416e9c9 (diff) | |
download | rt.equinox.framework-8e41d1e5598d8b9bc90bfebb6750501d2de0f887.tar.gz rt.equinox.framework-8e41d1e5598d8b9bc90bfebb6750501d2de0f887.tar.xz rt.equinox.framework-8e41d1e5598d8b9bc90bfebb6750501d2de0f887.zip |
Implementation for defect 47592 - what is the logging strategy.
Diffstat (limited to 'bundles/org.eclipse.osgi/supplement/src/org/eclipse/osgi/framework/log/FrameworkLogEntry.java')
-rw-r--r-- | bundles/org.eclipse.osgi/supplement/src/org/eclipse/osgi/framework/log/FrameworkLogEntry.java | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/bundles/org.eclipse.osgi/supplement/src/org/eclipse/osgi/framework/log/FrameworkLogEntry.java b/bundles/org.eclipse.osgi/supplement/src/org/eclipse/osgi/framework/log/FrameworkLogEntry.java new file mode 100644 index 000000000..d907a6d5d --- /dev/null +++ b/bundles/org.eclipse.osgi/supplement/src/org/eclipse/osgi/framework/log/FrameworkLogEntry.java @@ -0,0 +1,50 @@ +/******************************************************************************* + * Copyright (c) 2004 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Common Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/cpl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ + +package org.eclipse.osgi.framework.log; + +public class FrameworkLogEntry { + private int depth; + private String entry; + private String message; + private String stack; + + public FrameworkLogEntry(int depth, String entry, String message, String stack) { + this.depth = depth; + this.entry = entry; + this.message = message; + this.stack = stack; + } + /** + * @return Returns the depth. + */ + public int getDepth() { + return depth; + } + /** + * @return Returns the entry. + */ + public String getEntry() { + return entry; + } + /** + * @return Returns the message. + */ + public String getMessage() { + return message; + } + /** + * @return Returns the stack. + */ + public String getStack() { + return stack; + } +} |