Moved Logger interface to root

This commit is contained in:
Shoghi Cervantes 2014-06-02 14:41:43 +02:00
parent 857c79cc05
commit a17d847a82
6 changed files with 8 additions and 8 deletions

View File

@ -14,7 +14,7 @@
* (at your option) any later version. * (at your option) any later version.
* *
* @author PocketMine Team * @author PocketMine Team
* @link http://www.pocketmine.net/
* *
* *
*/ */
@ -66,7 +66,7 @@ namespace {
namespace pocketmine { namespace pocketmine {
use pocketmine\utils\Binary; use pocketmine\utils\Binary;
use pocketmine\utils\LogLevel; use \LogLevel;
use pocketmine\utils\MainLogger; use pocketmine\utils\MainLogger;
use pocketmine\utils\Utils; use pocketmine\utils\Utils;
use pocketmine\wizard\Installer; use pocketmine\wizard\Installer;

View File

@ -21,8 +21,8 @@
namespace pocketmine\plugin; namespace pocketmine\plugin;
use pocketmine\utils\Logger; use \Logger;
use pocketmine\utils\LogLevel; use \LogLevel;
use pocketmine\utils\MainLogger; use pocketmine\utils\MainLogger;
class PluginLogger implements Logger{ class PluginLogger implements Logger{

View File

@ -20,6 +20,8 @@
*/ */
namespace pocketmine\utils; namespace pocketmine\utils;
use \Logger;
use \LogLevel;
class MainLogger extends \Thread implements Logger{ class MainLogger extends \Thread implements Logger{
protected $logFile; protected $logFile;

View File

@ -20,6 +20,8 @@
*/ */
namespace pocketmine\utils; namespace pocketmine\utils;
use \Logger;
use \LogLevel;
class MainLogger extends \Thread implements Logger{ class MainLogger extends \Thread implements Logger{
protected $logFile; protected $logFile;

View File

@ -19,8 +19,6 @@
* *
*/ */
namespace pocketmine\utils;
interface LogLevel{ interface LogLevel{
const EMERGENCY = "emergency"; const EMERGENCY = "emergency";
const ALERT = "alert"; const ALERT = "alert";

View File

@ -19,8 +19,6 @@
* *
*/ */
namespace pocketmine\utils;
interface Logger{ interface Logger{
/** /**