APIs that use reflection will throw errors at runtime when publishing in AOT's reflection-free mode. I've changed the categoryName param in your logger to use a string instead of reflection. The only downside is that now you have to manually maintain the namespace and class names. This change allows your library to work for my use case, but if there is any other use of reflection in other parts of your lib we can fix that too.
APIs that use reflection will throw errors at runtime when publishing in AOT's reflection-free mode. I've changed the
categoryName
param in your logger to use a string instead of reflection. The only downside is that now you have to manually maintain the namespace and class names. This change allows your library to work for my use case, but if there is any other use of reflection in other parts of your lib we can fix that too.