added scope logger decorator