mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2025-11-06 13:25:51 +01:00
Option to choose number of MySQL Instances!
This commit is contained in:
11
install-two/installLog.py
Normal file
11
install-two/installLog.py
Normal file
@@ -0,0 +1,11 @@
|
||||
import time
|
||||
|
||||
class InstallLog:
|
||||
fileName = "/var/log/installLogs.txt"
|
||||
|
||||
@staticmethod
|
||||
def writeToFile(message):
|
||||
file = open(InstallLog.fileName,'a')
|
||||
file.writelines("[" + time.strftime(
|
||||
"%I-%M-%S-%a-%b-%Y") + "] "+message + "\n")
|
||||
file.close()
|
||||
Reference in New Issue
Block a user