Goto definition iin pipeline editor, working for resources
This commit is contained in:
@@ -15,23 +15,21 @@ import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
|
||||
/**
|
||||
* Deprecated, this class is here to make porting old STS code easier. Code should
|
||||
* avoid using this as much as possible and replaces calls to this by using
|
||||
* {@link java.util.logging.Logger} directly
|
||||
* This class is here to make porting old STS code easier. Instead of using this,
|
||||
* consider using {@link java.util.logging.Logger} directly
|
||||
*/
|
||||
@Deprecated
|
||||
public class Log {
|
||||
|
||||
|
||||
final static Logger logger = LoggerFactory.getLogger(Log.class);
|
||||
|
||||
public static void log(Throwable e) {
|
||||
logger.error("Error", e);
|
||||
}
|
||||
|
||||
|
||||
public static void log(String message, Throwable t) {
|
||||
logger.error(message, t);
|
||||
}
|
||||
|
||||
|
||||
public static void log(String message) {
|
||||
logger.error(message);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user