Skip to content

Commit 6420577

Browse files
authored
Update logger-message-generator.md (#46379)
Remove the line that Log methods cannot be defined in nested types, as that restriction no longer appears to hold.
1 parent 1acd3dd commit 6420577

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

docs/core/extensions/logger-message-generator.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,6 @@ When using the `LoggerMessageAttribute` on logging methods, some constraints mus
118118
- Logging methods must be `partial` and return `void`.
119119
- Logging method names must *not* start with an underscore.
120120
- Parameter names of logging methods must *not* start with an underscore.
121-
- Logging methods may *not* be defined in a nested type.
122121
- Logging methods *cannot* be generic.
123122
- If a logging method is `static`, the `ILogger` instance is required as a parameter.
124123

0 commit comments

Comments
 (0)