Skip to content

Commit

Permalink
Clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
SRichner committed Feb 21, 2024
1 parent a00ff71 commit 8de23d0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/electron/electron/main/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@ if (!app.requestSingleInstanceLock()) {
// Optional, initialize the logger for any renderer process
log.initialize();
const LOG = getLogger('Main', true);
LOG.info('Log from the main process');

app.whenReady().then(async () => {
app.setAppUserModelId('ch.ifi.hasel.personal-analytics');
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,13 @@
import { ExperienceSamplingResponseEntity } from '../entities/ExperienceSamplingResponseEntity';
import { getLogger } from '../../shared/Logger';

const LOG = getLogger('ExperienceSamplingService');

export class ExperienceSamplingService {
public async createExperienceSample(promptedAt: number, question: string, response: number) {
LOG.debug(
`createExperienceSample: promptedAt=${promptedAt}, question=${question}, response=${response}`
);
await ExperienceSamplingResponseEntity.save({
question,
response,
Expand Down

0 comments on commit 8de23d0

Please sign in to comment.