-
Notifications
You must be signed in to change notification settings - Fork 1
Implement source-generated logging with generic Log<T> singleton #5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Co-authored-by: aannenko <4640265+aannenko@users.noreply.github.com>
|
@copilot In the new Log.cs, replace event ids so that error-level logs were in hundreds range, e.g. 100, 101, 102, 103 .. 199 for decryption, 200, 201 .. 299 for encryption. Make information log event ids in thousands range, e.g. 1000, 1001 ... 1999 for decryption and 2000, 2001 .. 2999 for encryption. Make debug-level logs have 5 digits, e.g. 10000, 10001 .. 19999 for decryption and 20000, 20001 .. 29999 for encryption. |
- Debug: 10000-19999 (decryption), 20000-29999 (encryption) - Information: 1000-1999 (decryption), 2000-2999 (encryption) - Error: 100-199 (decryption), 200-299 (encryption) Co-authored-by: aannenko <4640265+aannenko@users.noreply.github.com>
Done in d7b89a1. EventIds reorganized:
|
|
@copilot src/CrackSharp.Api/Program.cs:18 Move this line one line up. |
Co-authored-by: aannenko <4640265+aannenko@users.noreply.github.com>
Original prompt
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.