File: MyLogger.php

Recommend this page to a friend!
  Classes of Stefan Kientzler  >  PHP Web Push Notifications Server  >  MyLogger.php  >  Download  
File: MyLogger.php
Role: Example script
Content type: text/plain
Description: Example script
Class: PHP Web Push Notifications Server
Queue and push notifications to Web users
Author: By
Last change:
Date: 6 months ago
Size: 201 bytes
 

Contents

Class file image Download
<?php
use Psr\Log\LoggerInterface;
use
Psr\Log\NullLogger;

function
createLogger() : LoggerInterface
{
   
// just create and configure any PSR-3 logger of your choice
   
return new NullLogger();
}


For more information send a message to info at phpclasses dot org.