v3.11.1 (#215)
- `--fail2ban` in wo stack upgrade - error with `wo maintenance` - php-igbinary missing for php74 (run `wo stack upgrade` to install it) - opcache reset with `wo clean`
This commit is contained in:
@@ -38,13 +38,13 @@ class Log:
|
||||
Logs warning into log file
|
||||
"""
|
||||
print(Log.WARNING + msg + Log.ENDC)
|
||||
self.app.log.warn(Log.BOLD + msg + Log.ENDC)
|
||||
self.app.log.warning(Log.BOLD + msg + Log.ENDC)
|
||||
|
||||
def debug(self, msg):
|
||||
"""
|
||||
Logs debug messages into log file
|
||||
"""
|
||||
self.app.log.debug(Log.HEADER + msg + Log.ENDC)
|
||||
self.app.log.debug(Log.HEADER + msg + Log.ENDC, __name__)
|
||||
|
||||
def wait(self, msg, end='\r', log=True):
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user