
全新外掛
安裝啟用
—
尚無評分
1660 天前
最後更新
—
問題解決
WordPress 5.4+ PHP 7.0+ v2.0.0 上架:2020-12-13
內容簡介
這個外掛可以將應用程式的日誌以「錯誤」或「資訊」兩種類型進行儲存
使用方法
在任何 php 檔案中,你可以使用以下方法:
Ls\Wp\Log::info("標題", [任何物件]);
Ls\Wp\Log::error("標題", [任何物件]);
或者也可以新增命名空間
use Ls\Wp\Log as Log;
Log::info("標題", [任何物件]);
Log::error("標題", [任何物件]);
外掛標籤
開發者團隊
原文外掛簡介
This plugin stores logs for your application with different types: error and info
How to use
In any php file you can use methods:
Ls\Wp\Log::info("My Title", [any object]);
Ls\Wp\Log::error("My Title", [any object]);
or add namespace
use Ls\Wp\Log as Log;
Log::info("My Title", [any object]);
Log::error("My Title", [any object]);
