Add logging function with improved output formatting

- Introduced a log() function to capture console output to a file
- Added date separator and blank lines for better readability
- Stripped ANSI color codes to avoid strange characters in the log
This commit is contained in:
2025-01-04 19:47:31 +09:00
parent 6642d5a265
commit 501d29cad7
3 changed files with 19 additions and 5 deletions
+2 -1
View File
@@ -1,2 +1,3 @@
caddy/*
wordpress/*
wordpress/*
kazewp.log