A sample demonstrating how to invoke Google Cloud Stackdriver Logging from C#.
-
Follow the instructions in the root README.
-
Open LoggingSample.sln with Microsoft Visual Studio version 2012 or later.
-
Edit
Program.cs, and replace YOUR-PROJECT-ID with id of the project you created in step 1. -
Build the Solution.
-
From the command line, run LoggingSample.exe to see a list of subcommands:
C:\...\bin\Debug> LoggingSample.exe Usage:
LoggingSample create-log-entry log-id new-log-entry-text LoggingSample list-log-entries log-id LoggingSample create-sink sink-id log-id LoggingSample list-sinks LoggingSample update-sink sink-id log-id LoggingSample delete-log log-id LoggingSample delete-sink sink-id ```
- See CONTRIBUTING.md
- See LICENSE