ConsoleOutput

class OC\Migration\ConsoleOutput
Class SimpleOutput
Just a simple IOutput implementation with writes messages to the log file.
Alternative implementations will write to the console or to the web ui (web update case)
Source:lib/private/Migration/ConsoleOutput.php#37
Implements:OCP\Migration\IOutput

Properties

Methods

public OC\Migration\ConsoleOutput::__construct($output)
Source:lib/private/Migration/ConsoleOutput.php#45
public OC\Migration\ConsoleOutput::info($message)
Source:

lib/private/Migration/ConsoleOutput.php#52

Parameters:
  • $message (string)
public OC\Migration\ConsoleOutput::warning($message)
Source:

lib/private/Migration/ConsoleOutput.php#59

Parameters:
  • $message (string)
public OC\Migration\ConsoleOutput::startProgress($max=0)
Source:

lib/private/Migration/ConsoleOutput.php#66

Parameters:
  • $max (int)
public OC\Migration\ConsoleOutput::advance($step=1, $description="")
Source:

lib/private/Migration/ConsoleOutput.php#78

Parameters:
  • $step (int)
  • $description (string)
public OC\Migration\ConsoleOutput::finishProgress()
Source:lib/private/Migration/ConsoleOutput.php#86