use logger in spreadsheet