From c562a013ef7e40e3a7f6126a6d327552f2bc557f Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Fri, 4 Sep 2020 16:07:26 +0300 Subject: add ssh relaxed auth mode --- internal/io/logger/logger.go | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'internal/io') diff --git a/internal/io/logger/logger.go b/internal/io/logger/logger.go index bfe4b29..6ba9f9a 100644 --- a/internal/io/logger/logger.go +++ b/internal/io/logger/logger.go @@ -147,6 +147,15 @@ func Error(args ...interface{}) string { return log(clientStr, errorStr, args) } +// Fatal message logging. +func Fatal(args ...interface{}) string { + if Mode.Server { + return log(serverStr, fatalStr, args) + } + + return log(clientStr, fatalStr, args) +} + // FatalExit logs an error and exists the process. func FatalExit(args ...interface{}) { what := clientStr -- cgit v1.2.3