- Replace 
Unity logHandlerwith custom class, and do something cool before return the message to console. - Accept user-defined method of modifying the log format or adding extra information.
 - Optionally export logs to file.
 - An 
Editorscript to switch On/Off in editor menu. - An 
MonoBehaviourscript of Load/Remove controls in runtime. 
- Import the .unitypackage from unity IDE menu.
 - Modify 
CustomLogConfig.csto customize the behaviour. - Turn on the LogHandler in IDE toolbar: 
CustomTools > CustomLogHandler > On, or add componentCustomLogRuntime.csto gameObject in scenes. - Call native UnityEngine.Debug.Log() etc. in your scripts as normal. The custom behaviours automatically apply.
 
Small of this project is derived from AI-generated code. It was copied from Google's AI summary of Google search, then organized and expanded functionality by me. I don't know who the very original author is, and I do not intend to claim the copyright. 
I probably will ask AI for optimization and extension advice in the future.
- 輸出日誌到.txt是否在非windows平台造成bug的確認
 - 從Menu開/關
 - 避免重複Load導致self-cycle
 - partial class或json設定檔?
 - 輸出日誌開/關、輸出位址&檔名設定
 - 訊息格式自定義
 - MonoBehaviour trigger
 - stackTrace實驗 & 實作我的Config