public static function Geocoder::log in Geocoder 8.3
Same name and namespace in other branches
- 8.2 src/Geocoder.php \Drupal\geocoder\Geocoder::log()
- 7.2 src/Geocoder.php \Drupal\geocoder\Geocoder::log()
Log a message in the Drupal watchdog and on screen.
Parameters
string $message: The message.
2 calls to Geocoder::log()
- Geocoder::geocode in src/
Geocoder.php - Geocodes a string.
- Geocoder::reverse in src/
Geocoder.php - Reverse geocodes coordinates.
File
- src/
Geocoder.php, line 105
Class
- Geocoder
- Provides a geocoder factory class.
Namespace
Drupal\geocoderCode
public static function log($message) {
\Drupal::logger('geocoder')
->error($message);
}