SimpleOutput

class OC\Migration\SimpleOutput
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/SimpleOutput.php#36
Implements:OCP\Migration\IOutput

Properties

Methods

public OC\Migration\SimpleOutput::__construct($logger, $appName)
Source:lib/private/Migration/SimpleOutput.php#42
public OC\Migration\SimpleOutput::info($message)
Source:

lib/private/Migration/SimpleOutput.php#51

Parameters:
  • $message (string)
Since:

9.1.0

public OC\Migration\SimpleOutput::warning($message)
Source:

lib/private/Migration/SimpleOutput.php#59

Parameters:
  • $message (string)
Since:

9.1.0

public OC\Migration\SimpleOutput::startProgress($max=0)
Source:

lib/private/Migration/SimpleOutput.php#67

Parameters:
  • $max (int)
Since:

9.1.0

public OC\Migration\SimpleOutput::advance($step=1, $description="")
Source:

lib/private/Migration/SimpleOutput.php#75

Parameters:
  • $step (int)
  • $description (string)
Since:

9.1.0

public OC\Migration\SimpleOutput::finishProgress()
Source:lib/private/Migration/SimpleOutput.php#81
Since:9.1.0