/**
 * 
 */
package com.automation.sele.web.services;

import lombok.extern.slf4j.Slf4j;

import org.springframework.stereotype.Service;
import org.testng.Reporter;

/**
 * Methods for logging
 * @author Giannis Papadakis(mailTo:gpapadakis84@gmail.com)
 *
 */
@Service
@Slf4j
public class Logging {

	
	/**
	 * Info.
	 *
	 * @param message
	 *            the message
	 */
	public void info(String message) {
		log.info(message);
		Reporter.log("<b><p class=\"testOutput\" style=\"font-size:1em;\">" + message + "</p></b>");

	}

	/**
	 * Warn.
	 *
	 * @param message
	 *            the message
	 */
	public void warn(String message) {
		log.warn(message);
		Reporter.log("<b><p class=\"testOutput\" style=\"color:orange; font-size:1em;\">" + message + "</p></b>");
	}

	/**
	 * Error.
	 *
	 * @param message
	 *            the message
	 */
	public void error(String message) {
		log.error(message);
		Reporter.log("<b><p class=\"testOutput\" style=\"color:red; font-size:1em;\">" + message + "</p></b>");
	}
	
	
	

}

@@ -312,16 +312,140 @@
 ng %7B%0D%0A%0D%0A
+%09//For reportNG HTML%0D%0A%09public Logging()%7B%0D%0A        System.setProperty(%22org.uncommons.reportng.escape-output%22, %22false%22);%0D%0A%09%7D%0D%0A
 %09%0D%0A%09/**%0D
@@ -625,16 +625,34 @@
 style=%5C%22
+color:MediumBlue; 
 font-siz

set property org.uncommons.reportng.escape-output in constructor of Loggin @Service