org.kuali.common.util
Class LoggerUtils
java.lang.Object
org.kuali.common.util.LoggerUtils
public class LoggerUtils
- extends Object
Method Summary |
static String |
getHeader(List<String> columns,
int[] padding)
|
static String |
getMsg(int count)
|
static String |
getNullAsNone(String string)
|
static int[] |
getPadding(List<String> columns,
List<Object[]> argsList)
|
static String |
getPassword(String username,
String password)
|
static String |
getPassword(String username,
String password,
Obscurer obscurer)
|
static String |
getUsername(String username)
|
static boolean |
isNullOrNone(String s)
|
static void |
logLines(String s,
org.slf4j.Logger logger,
LoggerLevel level)
|
static void |
logMsg(String msg,
org.slf4j.Logger logger,
LoggerLevel level)
|
static void |
logMsg(String msg,
Object[] args,
org.slf4j.Logger logger,
LoggerLevel level)
|
static void |
logTable(List<String> columns,
List<Object[]> argsList,
LoggerLevel level,
org.slf4j.Logger logger)
|
static void |
updateArgsList(List<Object[]> argsList,
int[] padding)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LoggerUtils
public LoggerUtils()
getPadding
public static int[] getPadding(List<String> columns,
List<Object[]> argsList)
getHeader
public static String getHeader(List<String> columns,
int[] padding)
getMsg
public static String getMsg(int count)
updateArgsList
public static void updateArgsList(List<Object[]> argsList,
int[] padding)
logTable
public static void logTable(List<String> columns,
List<Object[]> argsList,
LoggerLevel level,
org.slf4j.Logger logger)
logLines
public static void logLines(String s,
org.slf4j.Logger logger,
LoggerLevel level)
logMsg
public static final void logMsg(String msg,
Object[] args,
org.slf4j.Logger logger,
LoggerLevel level)
logMsg
public static final void logMsg(String msg,
org.slf4j.Logger logger,
LoggerLevel level)
getUsername
public static final String getUsername(String username)
getNullAsNone
public static final String getNullAsNone(String string)
getPassword
public static final String getPassword(String username,
String password)
isNullOrNone
public static boolean isNullOrNone(String s)
getPassword
public static final String getPassword(String username,
String password,
Obscurer obscurer)
Copyright © 2010-2013 The Kuali Foundation. All Rights Reserved.