src/main/java/reactor/netty/ReactorNetty.java
/**
	 * Append channel ID to a log message for correlated traces
	 * @param channel current channel associated with the msg
	 * @param msg the log msg
	 * @return a formatted msg
	 */
Append channel ID to a log message for correlated traces
@param channel current channel associated with the msg
@param msg the log msg
@return a formatted msg
Append channel ID to a log message for correlated traces @param channel current channel associated with the msg @param msg the log msg @return a formatted msg
public static String format(Channel channel, String msg) {
		if (LOG_CHANNEL_INFO) {
			String channelStr = channel.toString();
			return new StringBuilder(channelStr.length() + 1 + msg.length())
					.append(channel)
					.append(' ')
					.append(msg)
					.toString();
		}
		else {
			return msg;
		}
	}
public static String format ( Channel channel , String msg ) { if ( LOG_CHANNEL_INFO ) { String channelStr = channel . toString ( ) ; return new StringBuilder ( channelStr . length ( ) + 1 + msg . length ( ) ) . append ( channel ) . append ( ' ' ) . append ( msg ) . toString ( ) ; } else { return msg ; } }
Append channel ID to a log message for correlated traces
 @param channel current channel associated with the msg
 @param msg the log msg
 @return a formatted msg
Append channel ID to a log message for correlated traces @param channel current channel associated with the msg @param msg the log msg @return a formatted msg