diff options
author | rescobar | 2011-08-24 07:35:36 +0000 |
---|---|---|
committer | Ryan D. Brooks | 2011-08-24 07:35:36 +0000 |
commit | 099d5a2d8d0afbf52c50fddc0774c6c4457348fc (patch) | |
tree | 9ce2b2bc994625a10179c4199369d7e6799bd837 | |
parent | 44292200b5995090dce3b8a8544ddb6c052a8521 (diff) | |
download | org.eclipse.osee-099d5a2d8d0afbf52c50fddc0774c6c4457348fc.tar.gz org.eclipse.osee-099d5a2d8d0afbf52c50fddc0774c6c4457348fc.tar.xz org.eclipse.osee-099d5a2d8d0afbf52c50fddc0774c6c4457348fc.zip |
feature[ats_Q9NLC]: Create Osee Log interface
5 files changed, 94 insertions, 0 deletions
diff --git a/plugins/org.eclipse.osee.logger/.classpath b/plugins/org.eclipse.osee.logger/.classpath new file mode 100644 index 00000000000..ad32c83a788 --- /dev/null +++ b/plugins/org.eclipse.osee.logger/.classpath @@ -0,0 +1,7 @@ +<?xml version="1.0" encoding="UTF-8"?> +<classpath> + <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6"/> + <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/> + <classpathentry kind="src" path="src"/> + <classpathentry kind="output" path="bin"/> +</classpath> diff --git a/plugins/org.eclipse.osee.logger/.project b/plugins/org.eclipse.osee.logger/.project new file mode 100644 index 00000000000..d629e9ffb49 --- /dev/null +++ b/plugins/org.eclipse.osee.logger/.project @@ -0,0 +1,28 @@ +<?xml version="1.0" encoding="UTF-8"?> +<projectDescription> + <name>org.eclipse.osee.logger</name> + <comment></comment> + <projects> + </projects> + <buildSpec> + <buildCommand> + <name>org.eclipse.jdt.core.javabuilder</name> + <arguments> + </arguments> + </buildCommand> + <buildCommand> + <name>org.eclipse.pde.ManifestBuilder</name> + <arguments> + </arguments> + </buildCommand> + <buildCommand> + <name>org.eclipse.pde.SchemaBuilder</name> + <arguments> + </arguments> + </buildCommand> + </buildSpec> + <natures> + <nature>org.eclipse.pde.PluginNature</nature> + <nature>org.eclipse.jdt.core.javanature</nature> + </natures> +</projectDescription> diff --git a/plugins/org.eclipse.osee.logger/META-INF/MANIFEST.MF b/plugins/org.eclipse.osee.logger/META-INF/MANIFEST.MF new file mode 100644 index 00000000000..4640985becd --- /dev/null +++ b/plugins/org.eclipse.osee.logger/META-INF/MANIFEST.MF @@ -0,0 +1,8 @@ +Manifest-Version: 1.0 +Bundle-ManifestVersion: 2 +Bundle-Name: Osee Logger (Incubation) +Bundle-SymbolicName: org.eclipse.osee.logger +Bundle-Version: 0.9.9.qualifier +Bundle-Vendor: Eclipse Open System Engineering Environment +Bundle-RequiredExecutionEnvironment: JavaSE-1.6 +Export-Package: org.eclipse.osee.logger diff --git a/plugins/org.eclipse.osee.logger/build.properties b/plugins/org.eclipse.osee.logger/build.properties new file mode 100644 index 00000000000..34d2e4d2dad --- /dev/null +++ b/plugins/org.eclipse.osee.logger/build.properties @@ -0,0 +1,4 @@ +source.. = src/ +output.. = bin/ +bin.includes = META-INF/,\ + . diff --git a/plugins/org.eclipse.osee.logger/src/org/eclipse/osee/logger/Log.java b/plugins/org.eclipse.osee.logger/src/org/eclipse/osee/logger/Log.java new file mode 100644 index 00000000000..8ff21240962 --- /dev/null +++ b/plugins/org.eclipse.osee.logger/src/org/eclipse/osee/logger/Log.java @@ -0,0 +1,47 @@ +/******************************************************************************* + * Copyright (c) 2004, 2007 Boeing. + * 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: + * Boeing - initial API and implementation + *******************************************************************************/ +package org.eclipse.osee.logger; + +/** + * @author Roberto E. Escobar + */ +public interface Log { + + boolean isTraceEnabled(); + + void trace(String format, Object... args); + + void trace(Throwable th, String format, Object... args); + + boolean isDebugEnabled(); + + void debug(String format, Object... args); + + void debug(Throwable th, String format, Object... args); + + boolean isInfoEnabled(); + + void info(String format, Object... args); + + void info(Throwable th, String format, Object... args); + + boolean isWarnEnabled(); + + void warn(String format, Object... args); + + void warn(Throwable th, String format, Object... args); + + boolean isErrorEnabled(); + + void error(String format, Object... args); + + void error(Throwable th, String format, Object... args); +} |