예제 #1
0
 public function setUp()
 {
     $this->logger = new Logger(new OutputHandler(Level::maskAll()->getMask()));
 }
예제 #2
0
 public function setUp()
 {
     $this->logger = new Logger(new StreamHandler(Output::getInstance(), Level::maskAll()->getMask()));
 }
예제 #3
0
 public function setUp()
 {
     $handler = new GenericHandler(Level::maskAll()->getMask());
     $this->logger = new Logger($handler);
 }
예제 #4
0
 public function setUp()
 {
     $handler = new LoggerHandler(new PsrLogger(), Level::maskAll()->getMask());
     $this->logger = new Logger($handler);
 }