Updated Binary Log (markdown)

Kirill Osenkov 2017-03-14 17:39:44 -07:00
Родитель cc7fd64bc0
Коммит 21dc8c683a
1 изменённых файлов: 9 добавлений и 1 удалений

@ -35,4 +35,12 @@ Instead of passing the project/solution to MSBuild.exe you can now pass a binary
You can use the MSBuild Structured Log Viewer tool to view `.binlog` files:
https://github.com/KirillOsenkov/MSBuildStructuredLog
# Binary log file format
# Binary log file format
The implementation of the binary logger is here:
https://source.dot.net/#Microsoft.Build/Logging/BinaryLogger/BinaryLogger.cs
https://github.com/Microsoft/msbuild/blob/master/src/Build/Logging/BinaryLogger/BinaryLogger.cs
It is a `GZipStream`-compressed binary stream of serialized `BuildEventArgs` objects. The event args objects are serialized and deserialized using:
* https://source.dot.net/#Microsoft.Build/Logging/BinaryLogger/BuildEventArgsWriter.cs
* https://source.dot.net/#Microsoft.Build/Logging/BinaryLogger/BuildEventArgsReader.cs