add PatternLoggingMethod model