We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 500c6c0 commit 582bff3Copy full SHA for 582bff3
README.md
@@ -72,19 +72,3 @@ var pipeline = new Pipeline(
72
var results = pipeline.Run(args);
73
var layout = results.GetOutput<PuzzleLayout>("PuzzleLayout");
74
```
75
-
76
-## Generation Logger Example
77
78
-The generators include logging messages that can be subscribed to by adding a delegate to the `Logger`, as shown in the below example.
79
80
-```Logger.cs
81
-// Have the messages printed to the console.
82
-Logger.AddListener(Console.WriteLine);
83
84
-// Or added to a list.
85
-var messages = new List<string>();
86
-Logger.AddListener(messages.Add);
87
88
-// Make sure to have your objects unsubscribe from the event to prevent memory leaks.
89
-Logger.RemoveListener(messages.Add);
90
-```
0 commit comments