// Path: src/main/java/com/github/lisicnu/log4android/Level.java
// public enum Level {
// 	FATAL(Level.FATAL_INT),
// 	ERROR(Level.ERROR_INT),
// 	WARN(Level.WARN_INT),
// 	INFO(Level.INFO_INT),
// 	DEBUG(Level.DEBUG_INT),
// 	TRACE(Level.TRACE_INT),
// 	OFF(Level.OFF_INT);
// 	
// 	public static final int FATAL_INT = 16;
// 	public static final int ERROR_INT = 8;
// 	public static final int WARN_INT = 4;
// 	public static final int INFO_INT = 2;
// 	public static final int DEBUG_INT = 1;
// 	public static final int TRACE_INT = 0;
// 	public static final int OFF_INT = -1;
// 	
// 	private final int levelValue;
// 	
// 	private Level(final int levelValue) {
// 		this.levelValue = levelValue;
// 	}
// 	
// 	public int toInt() {
// 		return levelValue;
// 	}
// 	
// 	public String toString() {
// 		return this.name();
// 	}
// }


import com.github.lisicnu.log4android.Level;
/*
 * Copyright 2008 The Microlog project @sourceforge.net
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 * 
 * http://www.apache.org/licenses/LICENSE-2.0
 * 
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package com.github.lisicnu.log4android.format.command;


/**
 * This command does not do any formatting. It just stores the
 * <code>preFormatString</code> and returns it.
 * 
 * @author Johan Karlsson (johan.karlsson@jayway.se)
 */
public class NoFormatCommand implements FormatCommandInterface {

	private String preFormatString = "";

	/**
	 * @see com.github.lisicnu.log4android.format.command.FormatCommandInterface#init(String)
	 */
	public void init(String preFormatString){
		this.preFormatString = preFormatString;
	}

	/**
	 * Convert, i.e. return the <code>preFormatString</code>.
	 * 
	 * @see com.github.lisicnu.log4android.format.command.FormatCommandInterface#execute(String,
	 *      String, long, com.github.lisicnu.log4android.Level, Object,
	 *      Throwable)
	 */
// Path: src/main/java/com/github/lisicnu/log4android/Level.java
// public enum Level {
// 	FATAL(Level.FATAL_INT),
// 	ERROR(Level.ERROR_INT),
// 	WARN(Level.WARN_INT),
// 	INFO(Level.INFO_INT),
// 	DEBUG(Level.DEBUG_INT),
// 	TRACE(Level.TRACE_INT),
// 	OFF(Level.OFF_INT);
// 	
// 	public static final int FATAL_INT = 16;
// 	public static final int ERROR_INT = 8;
// 	public static final int WARN_INT = 4;
// 	public static final int INFO_INT = 2;
// 	public static final int DEBUG_INT = 1;
// 	public static final int TRACE_INT = 0;
// 	public static final int OFF_INT = -1;
// 	
// 	private final int levelValue;
// 	
// 	private Level(final int levelValue) {
// 		this.levelValue = levelValue;
// 	}
// 	
// 	public int toInt() {
// 		return levelValue;
// 	}
// 	
// 	public String toString() {
// 		return this.name();
// 	}
// }


// Path: src/main/java/com/github/lisicnu/log4android/format/command/NoFormatCommand.java
import com.github.lisicnu.log4android.Level;

/*
 * Copyright 2008 The Microlog project @sourceforge.net
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 * 
 * http://www.apache.org/licenses/LICENSE-2.0
 * 
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package com.github.lisicnu.log4android.format.command;


/**
 * This command does not do any formatting. It just stores the
 * <code>preFormatString</code> and returns it.
 * 
 * @author Johan Karlsson (johan.karlsson@jayway.se)
 */
public class NoFormatCommand implements FormatCommandInterface {

	private String preFormatString = "";

	/**
	 * @see com.github.lisicnu.log4android.format.command.FormatCommandInterface#init(String)
	 */
	public void init(String preFormatString){
		this.preFormatString = preFormatString;
	}

	/**
	 * Convert, i.e. return the <code>preFormatString</code>.
	 * 
	 * @see com.github.lisicnu.log4android.format.command.FormatCommandInterface#execute(String,
	 *      String, long, com.github.lisicnu.log4android.Level, Object,
	 *      Throwable)
	 */
	public String execute(String clientID, String name, long time, Level level,