Skip to content

Commit

Permalink
fixes #44
Browse files Browse the repository at this point in the history
all log content is sent to the log file now
  • Loading branch information
bartreardon committed Mar 27, 2024
1 parent f953005 commit 27f9f16
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Outset/Utils/Logging.swift
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,9 @@ func writeLog(_ message: String, logLevel: OSLogType = .info, log: OSLog = osLog

func writeFileLog(message: String, logLevel: OSLogType) {
// write to a log file for accessability of those that don't want to manage the system log
if logLevel == .debug && !debugMode {
return
}
//if logLevel == .debug && !debugMode {
// return
//}
let logFileURL = URL(fileURLWithPath: logFilePath)
if !checkFileExists(path: logFilePath) {
FileManager.default.createFile(atPath: logFileURL.path, contents: nil, attributes: nil)
Expand Down

0 comments on commit 27f9f16

Please sign in to comment.