package Ġcom . my company . myapp . config Ċ Ċ import Ġcom . my company . myapp . aop . logging . Logging Aspect Ċ Ċ import Ġio . github . j hip ster . config . JH ip ster Constants Ċ Ċ import Ġorg . springframework . context . annotation . Bean Ċ import Ġorg . springframework . context . annotation . Configuration Ċ import Ġorg . springframework . context . annotation . Enable Aspect J Auto Proxy Ċ import Ġorg . springframework . context . annotation . Profile Ċ import Ġorg . springframework . core . env . Environment Ċ Ċ @ Configuration Ċ @ Enable Aspect J Auto Proxy Ċ class ĠLogging Aspect Configuration Ġ{ ĊĊĠĠĠ Ġ@ Bean ĊĠĠĠ Ġ@ Profile ( JH ip ster Constants . SPR ING _ PROFILE _ DE VELO P MENT ) ĊĠĠĠ Ġfun Ġlogging Aspect ( env : ĠEnvironment ): ĠLogging Aspect Ġ{ ĊĠĠĠĠĠĠĠ Ġreturn ĠLogging Aspect ( env ) ĊĠĠĠ Ġ} Ċ } Ċ