info

open override fun info(msg: String?, arg: Any?)

Deprecated

Use info {} instead

Replace with

info { "$msg $arg"}

Log a message at the INFO level according to the specified msg and argument.

This form avoids superfluous object creation when the logger is disabled for the INFO level.

Parameters

msg

the msg string

arg

the argument


open override fun info(msg: String?, arg1: Any?, arg2: Any?)

Deprecated

Use info {} instead

Replace with

info { "$msg $arg1 $arg2"}

Log a message at the INFO level according to the specified msg and arguments.

This form avoids superfluous object creation when the logger is disabled for the INFO level.

Parameters

msg

the msg string

arg1

the first argument

arg2

the second argument


open override fun info(msg: String?, vararg arguments: Any?)

Deprecated

Use info {} instead

Replace with

info { "$msg $arguments"}

Log a message at the INFO level according to the specified msg and arguments.

This form avoids superfluous string concatenation when the logger is disabled for the INFO level. However, this variant incurs the hidden (and relatively small) cost of creating an Object[] before invoking the method, even if this logger is disabled for INFO. The variants taking .info and .info arguments exist solely in order to avoid this hidden cost.

Parameters

msg

the msg string

arguments

a list of 3 or more arguments


open override fun info(marker: Marker?, msg: String?, arg: Any?)

Deprecated

Use info {} instead

Replace with

info { "$msg $arg"}

This method is similar to .info method except that the marker data is also taken into consideration.

Parameters

marker

the marker data specific to this log statement

msg

the msg string

arg

the argument


open override fun info(marker: Marker?, msg: String?, arg1: Any?, arg2: Any?)

Deprecated

Use info {} instead

Replace with

info { "$msg $arg1 $arg2"}

This method is similar to .info method except that the marker data is also taken into consideration.

Parameters

marker

the marker data specific to this log statement

msg

the msg string

arg1

the first argument

arg2

the second argument


open override fun info(marker: Marker?, msg: String?, vararg arguments: Any?)

Deprecated

Use info {} instead

Replace with

info { "$msg $arguments"}

This method is similar to .info method except that the marker data is also taken into consideration.

Parameters

marker

the marker data specific to this log statement

msg

the msg string

arguments

a list of 3 or more arguments