Core Logger

implement log() function.
more to squash


Core Logger Class

implement log() function
This commit is contained in:
Adam Magness 2018-10-29 19:40:18 -04:00
parent b53157370a
commit 49eff56e5d
46 changed files with 348 additions and 302 deletions

View file

@ -8,19 +8,20 @@
*/
use Friendica\Core\Addon;
use Friendica\Core\Cache;
use Friendica\Core\Logger
function googlemaps_install()
{
Addon::registerHook('render_location', 'addon/googlemaps/googlemaps.php', 'googlemaps_location');
logger("installed googlemaps");
Logger::log("installed googlemaps");
}
function googlemaps_uninstall()
{
Addon::unregisterHook('render_location', 'addon/googlemaps/googlemaps.php', 'googlemaps_location');
logger("removed googlemaps");
Logger::log("removed googlemaps");
}
function googlemaps_location($a, &$item)