main
[AOT] Refactor Logger function to improve performance and mark managedCommon as AOT compatible (#36327)