Web
in package
implements
LoggerInterface, WebLoggerInterface
Table of Contents
Interfaces
Properties
- $destinationPath : string
- $json : stdClass
Methods
- dbUpdateSuccess() : void
- アップデート成功時
- failure() : void
- アップデート失敗時
- fileUpdateSuccess() : void
- ファイルのアップデート成功時
- getDestinationPath() : string
- ログ書き出し先を取得
- getJson() : stdClass
- Get json object
- incrementProgress() : void
- 進行状況(パーセント)を追加
- init() : void
- 初期化
- load() : void
- ファイルからログをロード
- message() : void
- メッセージを表示
- setDestinationPath() : void
- ログ書き出し先を設定
- terminate() : void
- アップデート終了時
- build() : void
- JSON生成
Properties
$destinationPath
private
string
$destinationPath
= ''
$json
private
stdClass
$json
Methods
dbUpdateSuccess()
アップデート成功時
public
dbUpdateSuccess() : void
failure()
アップデート失敗時
public
failure(string $message) : void
Parameters
- $message : string
fileUpdateSuccess()
ファイルのアップデート成功時
public
fileUpdateSuccess() : void
getDestinationPath()
ログ書き出し先を取得
public
getDestinationPath() : string
Return values
stringgetJson()
Get json object
public
getJson() : stdClass
Return values
stdClassincrementProgress()
進行状況(パーセント)を追加
public
incrementProgress([int $percentage = 0 ]) : void
Parameters
- $percentage : int = 0
init()
初期化
public
init() : void
load()
ファイルからログをロード
public
load() : void
message()
メッセージを表示
public
message(string $message[, int $percentage = 0 ][, int $status = 1 ]) : void
Parameters
- $message : string
- $percentage : int = 0
- $status : int = 1
setDestinationPath()
ログ書き出し先を設定
public
setDestinationPath(string $path) : void
Parameters
- $path : string
terminate()
アップデート終了時
public
terminate() : void
build()
JSON生成
protected
build() : void