How can log4net support microseconds? #230
-
I change the config like this and the timestamp shows microseconds: <conversionPattern value="[%date{yyyyMMdd HH:mm:ss.ffffff}] [%-5level] [%thread] - %message%newline"/> [20250210 18:37:40.286202] [INFO ] [ListenClientConnect] - Service has startup. But does it really work? learned from the internet that log4net does not support microseconds. |
Beta Was this translation helpful? Give feedback.
Answered by
FreeAndNil
Feb 10, 2025
Replies: 1 comment 6 replies
-
@ringchenhao yes, it will work. But only for .net8 or higher, not for .net4x. For more details see #230 (reply in thread) |
Beta Was this translation helpful? Give feedback.
6 replies
Answer selected by
FreeAndNil
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@ringchenhao yes, it will work.
But only for .net8 or higher, not for .net4x.
For more details see #230 (reply in thread)