aboutsummaryrefslogtreecommitdiffstats
path: root/WireGuard/Shared/Logging (follow)
Commit message (Collapse)AuthorAgeFilesLines
* ringlogger: document racesJason A. Donenfeld2019-03-181-0/+3
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* ringlogger: support mpsc for singlefileJason A. Donenfeld2019-03-174-66/+153
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Logger: Convert do-catch to try?Roopesh Chander2019-01-281-3/+2
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* Update copyrightJason A. Donenfeld2019-01-073-3/+3
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Nuke trailing spacesJason A. Donenfeld2018-12-211-1/+1
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Enabled more swiftlint rulesEric Kuck2018-12-201-0/+1
| | | | Signed-off-by: Eric Kuck <eric@bluelinelabs.com>
* Prettier log time formatJason A. Donenfeld2018-12-151-9/+19
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Simplify logging tagsJason A. Donenfeld2018-12-143-19/+28
| | | | | | | This was roop's initial idea, and it turns out to be the better one, now that we can pass cstrings more easily. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Simplify C stringsJason A. Donenfeld2018-12-131-13/+6
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Rewrite LoggerJason A. Donenfeld2018-12-133-77/+78
| | | | | | | This reverts all of Roop's changes to the C code, and then rewrites the logger logic to be cleaner. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Logging: Write versions from both app and extensionRoopesh Chander2018-12-131-0/+10
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* Logging: file_log doesn't need the message typeRoopesh Chander2018-12-131-3/+3
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* Logging: Tag the entries in the merged logRoopesh Chander2018-12-133-6/+13
| | | | | | | So we know which entry is from the app and which is from the network extension. Signed-off-by: Roopesh Chander <roop@roopc.net>
* Logging: ringlogger.c: Trim trailing newlinesRoopesh Chander2018-12-131-0/+7
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* Logging: Use ringlogger for logging from the extensionRoopesh Chander2018-12-133-0/+192
Signed-off-by: Roopesh Chander <roop@roopc.net>