Add more overloads (message, throwable, ...logPairs)

This commit is contained in:
2023-02-08 17:01:18 -06:00
parent f1515e2ba4
commit 0dcc5ef8c5

View File

@ -187,6 +187,16 @@ public class QLogger
/*******************************************************************************
**
*******************************************************************************/
public void trace(String message, Throwable t, LogPair... logPairs)
{
logger.trace(makeJsonString(message, t, logPairs));
}
/*******************************************************************************
**
*******************************************************************************/
@ -237,6 +247,16 @@ public class QLogger
/*******************************************************************************
**
*******************************************************************************/
public void debug(String message, Throwable t, LogPair... logPairs)
{
logger.debug(makeJsonString(message, t, logPairs));
}
/*******************************************************************************
**
*******************************************************************************/
@ -307,6 +327,16 @@ public class QLogger
/*******************************************************************************
**
*******************************************************************************/
public void info(String message, Throwable t, LogPair... logPairs)
{
logger.info(makeJsonString(message, t, logPairs));
}
/*******************************************************************************
**
*******************************************************************************/
@ -357,6 +387,16 @@ public class QLogger
/*******************************************************************************
**
*******************************************************************************/
public void warn(String message, Throwable t, LogPair... logPairs)
{
logger.warn(makeJsonString(message, t, logPairs));
}
/*******************************************************************************
**
*******************************************************************************/
@ -407,6 +447,16 @@ public class QLogger
/*******************************************************************************
**
*******************************************************************************/
public void error(String message, Throwable t, LogPair... logPairs)
{
logger.error(makeJsonString(message, t, logPairs));
}
/*******************************************************************************
**
*******************************************************************************/