Skip to content
This repository has been archived by the owner on Dec 12, 2021. It is now read-only.

Commit

Permalink
Merge branch 'master' of github.com:MCStreetguy/SmartConsole
Browse files Browse the repository at this point in the history
  • Loading branch information
Maximilian Schmidt committed Nov 8, 2018
2 parents 24464fe + f04a3bf commit 32c6580
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions Classes/Utility/IO.php
Expand Up @@ -132,7 +132,8 @@ public function getVerbosity(): int
*/
public function isVerbose(): bool
{
return $this->io->isVerbose();
// return $this->io->isVerbose();
return $this->io->getVerbosity() >= self::VERBOSE;
}

/**
Expand All @@ -142,7 +143,8 @@ public function isVerbose(): bool
*/
public function isVeryVerbose(): bool
{
return $this->io->isVeryVerbose();
// return $this->io->isVeryVerbose();
return $this->io->getVerbosity() >= self::VERY_VERBOSE;
}

/**
Expand All @@ -152,7 +154,8 @@ public function isVeryVerbose(): bool
*/
public function isDebug(): bool
{
return $this->io->isDebug();
// return $this->io->isDebug();
return $this->io->getVerbosity() >= self::DEBUG;
}

/**
Expand All @@ -162,7 +165,7 @@ public function isDebug(): bool
*/
public function isNormal(): bool
{
return $this->getVerbosity() === 0;
return $this->getVerbosity() >= self::NORMAL;
}

/**
Expand Down

0 comments on commit 32c6580

Please sign in to comment.