I believe the whole language is "style insensitive" for variable names. So it's not just a feature of the stdlib.
In python, for historical reasons the logging module uses camelCase while most other modules use snake_case, so it isn’t really possible to use the logging module and maintain a consistent style. This is a non-issue in Nim.
E.g. it's something to check but not an error. You can easily set a config to make them an error or ignore them.