Skip to content

Commit

Permalink
formatted
Browse files Browse the repository at this point in the history
  • Loading branch information
phossa committed Nov 1, 2019
1 parent 8f988f6 commit 9a65b85
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 22 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "phoole/logger",
"type": "library",
"license": "Apache-2.0",
"version": "1.0.2",
"version": "1.0.3",
"description": "Simple & slim PSR-3 logger for PHP",
"keywords": ["phoole", "library", "php", "logger", "psr-3", "swoole"],
"authors": [
Expand Down
11 changes: 5 additions & 6 deletions src/Handler/HandlerAbstract.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,11 @@

namespace Phoole\Logger\Handler;

use Phoole\Logger\{
Entry\LogEntryInterface,
Formatter\DefaultFormatter,
Formatter\FormatterInterface,
Formatter\FormatterAwareTrait,
Formatter\FormatterAwareInterface};
use Phoole\Logger\Entry\LogEntryInterface;
use Phoole\Logger\Formatter\DefaultFormatter;
use Phoole\Logger\Formatter\FormatterInterface;
use Phoole\Logger\Formatter\FormatterAwareTrait;
use Phoole\Logger\Formatter\FormatterAwareInterface;

/**
* HandlerAbstract
Expand Down
5 changes: 2 additions & 3 deletions src/Handler/HandlerAwareTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,9 @@
namespace Phoole\Logger\Handler;

use Traversable;
use Phoole\Logger\Entry\LogLevelTrait;
use Phoole\Base\Queue\UniquePriorityQueue;
use Phoole\Logger\{
Entry\LogLevelTrait,
Entry\LogEntryInterface};
use Phoole\Logger\Entry\LogEntryInterface;

/**
* HandlerAwareTrait
Expand Down
5 changes: 2 additions & 3 deletions src/Handler/StreamHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,8 @@
namespace Phoole\Logger\Handler;

use LogicException;
use Phoole\Logger\{
Entry\LogEntryInterface,
Formatter\FormatterInterface};
use Phoole\Logger\Entry\LogEntryInterface;
use Phoole\Logger\Formatter\FormatterInterface;

/**
* @package Phoole\Logger
Expand Down
16 changes: 7 additions & 9 deletions src/Logger.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,13 @@

namespace Phoole\Logger;

use Psr\Log\{
LoggerTrait,
LoggerInterface};
use Phoole\Logger\{
Entry\LogEntry,
Entry\LogEntryInterface,
Handler\HandlerInterface,
Handler\HandlerAwareTrait,
Handler\HandlerAwareInterface};
use Psr\Log\LoggerTrait;
use Psr\Log\LoggerInterface;
use Phoole\Logger\Entry\LogEntry;
use Phoole\Logger\Entry\LogEntryInterface;
use Phoole\Logger\Handler\HandlerInterface;
use Phoole\Logger\Handler\HandlerAwareTrait;
use Phoole\Logger\Handler\HandlerAwareInterface;

/**
* Logger
Expand Down

0 comments on commit 9a65b85

Please sign in to comment.