src/main/java/com/arpnetworking/steno/Logger.java
public void warn(
            @Nullable final String event,
            @Nullable final String message,
            @Nullable final String dataKey1,
            @Nullable final String dataKey2,
            @Nullable final Object dataValue1,
            @Nullable final Object dataValue2,
            @Nullable final Throwable throwable) {
        if (getSlf4jLogger().isWarnEnabled()) {
            LogLevel.WARN.log(
                    getSlf4jLogger(),
                    event,
                    createKeysFromArgs(MESSAGE_DATA_KEY, dataKey1, dataKey2),
                    createValuesFromArgs(message, dataValue1, dataValue2),
                    throwable);
        }
    }
public void warn(
            @Nullable final String event,
            @Nullable final String message,
            @Nullable final String dataKey1,
            @Nullable final String dataKey2,
            @Nullable final Object dataValue1,
            @Nullable final Object dataValue2,
            @Nullable final Throwable throwable) {
        if (getSlf4jLogger().isWarnEnabled()) {
            LogLevel.WARN.log(
                    getSlf4jLogger(),
                    event,
                    createKeysFromArgs(MESSAGE_DATA_KEY, dataKey1, dataKey2),
                    createValuesFromArgs(message, dataValue1, dataValue2),
                    throwable);
        }
    }
public void warn ( @ Nullable final String event , @ Nullable final String message , @ Nullable final String dataKey1 , @ Nullable final String dataKey2 , @ Nullable final Object dataValue1 , @ Nullable final Object dataValue2 , @ Nullable final Throwable throwable ) { if ( getSlf4jLogger ( ) . isWarnEnabled ( ) ) { LogLevel . WARN . log ( getSlf4jLogger ( ) , event , createKeysFromArgs ( MESSAGE_DATA_KEY , dataKey1 , dataKey2 ) , createValuesFromArgs ( message , dataValue1 , dataValue2 ) , throwable ) ; } }
Log a message for a canonical event with supporting key-value pairs and
a <code>Throwable</code> at the warn level. This method is provided
only for efficiency over the var-args method above as it avoids an array
creation during invocation.

@since 1.3.0

@param event The canonical event that occurred.
@param message The message to be logged.
@param dataKey1 First data name.
@param dataKey2 Second data name.
@param dataValue1 First data value.
@param dataValue2 Second data value.
@param throwable The exception (<code>Throwable</code>) to be logged.
Log a message for a canonical event with supporting key - value pairs and a <code > Throwable< / code > at the warn level . This method is provided only for efficiency over the var - args method above as it avoids an array creation during invocation .