php/WP_CLI/Loggers/Base.php
protected function _line( $message, $label, $color, $handle = STDOUT ) { // phpcs:ignore PSR2.Methods.MethodDeclaration.Underscore -- Used in third party extensions.
		if ( class_exists( 'cli\Colors' ) ) {
			$label = \cli\Colors::colorize( "$color$label:%n", $this->in_color );
		} else {
			$label = "$label:";
		}
		$this->write( $handle, "$label $message\n" );
	}
protected function _line( $message, $label, $color, $handle = STDOUT ) { // phpcs:ignore PSR2.Methods.MethodDeclaration.Underscore -- Used in third party extensions.
		if ( class_exists( 'cli\Colors' ) ) {
			$label = \cli\Colors::colorize( "$color$label:%n", $this->in_color );
		} else {
			$label = "$label:";
		}
		$this->write( $handle, "$label $message\n" );
	}
protected function _line ( $ message , $ label , $ color , $ handle = STDOUT ) { // phpcs:ignore PSR2.Methods.MethodDeclaration.Underscore -- Used in third party extensions. if ( class_exists ( 'cli\Colors' ) ) { $ label = \ cli \ Colors :: colorize ( "$color$label:%n" , $ this -> in_color ) ; } else { $ label = "$label:" ; } $ this -> write ( $ handle , "$label $message\n" ) ; }
Output one line of message to a resource.

@param string $message Message to write.
@param string $label Prefix message with a label.
@param string $color Colorize label with a given color.
@param resource $handle Resource to write to. Defaults to STDOUT.
Output one line of message to a resource .