Skip to content
This repository has been archived by the owner on Jul 24, 2023. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
Added NullLogger.
  • Loading branch information
stevebauman committed Jan 11, 2019
1 parent 8b0acd2 commit 66a2870
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions src/Log/NullLogger.php
@@ -0,0 +1,16 @@
<?php

namespace Adldap\Log;

use Psr\Log\AbstractLogger;

class NullLogger extends AbstractLogger
{
/**
* {@inheritdoc}
*/
public function log($level, $message, array $context = array())
{
// Do nothing.
}
}

0 comments on commit 66a2870

Please sign in to comment.