WP_CLI::get_logger()public staticWP-CLI 1.0

Get the logger instance.

Метод класса: WP_CLI{}

No Hooks.

Return

Object. $logger Logger instance.

Usage

$result = WP_CLI::get_logger();

Code of WP_CLI::get_logger() WP-CLI 2.7.0-alpha

public static function get_logger() {
	return self::$logger;
}