import { getContext } from './interceptors' ; export async function greet ( name ) { const { logger } = getContext ( ) ; logger . info ( 'Log from activity' , { name } ) ; return `Hello, ${ name }!` ; }