Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitaa22f62

Browse files
committed
log privacy
1 parent678fabd commitaa22f62

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

‎Coder Desktop/VPNLib/FileSync/FileSyncDaemon.swift

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ public class MutagenDaemon: FileSyncDaemon {
1616

1717
@Publishedpublicvarstate:DaemonState=.stopped{
1818
didSet{
19-
logger.info("daemon state changed:\(self.state.description)")
19+
logger.info("daemon state changed:\(self.state.description, privacy:.public)")
2020
}
2121
}
2222

@@ -72,7 +72,12 @@ public class MutagenDaemon: FileSyncDaemon {
7272
}
7373

7474
state=.running
75-
logger.info("mutagen daemon started, pid:\(self.mutagenProcess?.processIdentifier.description??"unknown")")
75+
logger.info(
76+
"""
77+
mutagen daemon started, pid:
78+
\(self.mutagenProcess?.processIdentifier.description??"unknown", privacy:.public)
79+
"""
80+
)
7681
}
7782

7883
privatefunc connect()asyncthrows(DaemonError){
@@ -164,7 +169,7 @@ public class MutagenDaemon: FileSyncDaemon {
164169

165170
privatenonisolatedfunc logOutput(pipe:FileHandle){
166171
iflet line=String(data: pipe.availableData, encoding:.utf8), line!=""{
167-
logger.info("\(line)")
172+
logger.info("\(line, privacy:.public)")
168173
}
169174
}
170175
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp