diff options
author | Joas Schilling <coding@schilljs.com> | 2023-10-31 12:06:09 +0100 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2023-11-03 15:44:46 +0100 |
commit | 6f39d82031202a2a8d1fb81ea448a2ffdc52cc29 (patch) | |
tree | 26f76451f1462ea5669f1d53e9cd0ebf7d79e7f2 /lib/private/Migration | |
parent | 50de7553b582744c7376ca5c7bcff0ba47c1e6b3 (diff) | |
download | nextcloud-server-6f39d82031202a2a8d1fb81ea448a2ffdc52cc29.tar.gz nextcloud-server-6f39d82031202a2a8d1fb81ea448a2ffdc52cc29.zip |
fix(install): Make installing more verbose
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'lib/private/Migration')
-rw-r--r-- | lib/private/Migration/ConsoleOutput.php | 4 | ||||
-rw-r--r-- | lib/private/Migration/SimpleOutput.php | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/lib/private/Migration/ConsoleOutput.php b/lib/private/Migration/ConsoleOutput.php index 9e3396f2a75..00b79f34866 100644 --- a/lib/private/Migration/ConsoleOutput.php +++ b/lib/private/Migration/ConsoleOutput.php @@ -44,6 +44,10 @@ class ConsoleOutput implements IOutput { $this->output = $output; } + public function debug(string $message): void { + $this->output->writeln($message, OutputInterface::VERBOSITY_VERBOSE); + } + /** * @param string $message */ diff --git a/lib/private/Migration/SimpleOutput.php b/lib/private/Migration/SimpleOutput.php index f97bcb767f8..6b0908500be 100644 --- a/lib/private/Migration/SimpleOutput.php +++ b/lib/private/Migration/SimpleOutput.php @@ -41,6 +41,10 @@ class SimpleOutput implements IOutput { $this->appName = $appName; } + public function debug(string $message): void { + $this->logger->debug($message, ['app' => $this->appName]); + } + /** * @param string $message * @since 9.1.0 |