Skip to content

Commit 610c0a4

Browse files
authored
Merge pull request #844 from vspo-lab/develop
dev -> prd
2 parents f820f55 + 4261ecf commit 610c0a4

File tree

5 files changed

+1345
-2
lines changed

5 files changed

+1345
-2
lines changed

packages/logging/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ function parseLogLevel(level: string | number): LogLevel {
5454

5555
class AppLogger implements CustomLogger {
5656
private static instance: AppLogger;
57-
private minLevel: LogLevel = LogLevel.DEBUG; // Default to DEBUG level
57+
private minLevel: LogLevel = LogLevel.INFO; // Default to INFO level
5858

5959
private constructor() {}
6060

service/server/infra/dependency/index.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import type { AppError, Result } from "@vspo-lab/error";
2+
import { AppLogger } from "@vspo-lab/logging";
23
import type { PgTransactionConfig } from "drizzle-orm/pg-core";
34
import type { AppWorkerEnv } from "../../config/env/internal";
45
import {
@@ -278,7 +279,8 @@ export const createContainer = (env: AppWorkerEnv): IContainer => {
278279
const clipAnalysisInteractor = createClipAnalysisInteractor(context);
279280
const eventInteractor = createEventInteractor(context);
280281
const freechatInteractor = createFreechatInteractor(context);
281-
282+
// init
283+
const _ = AppLogger.getInstance(env);
282284
return {
283285
cacheClient,
284286
creatorInteractor,
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
INSERT INTO channel (
2+
id,
3+
platform_channel_id,
4+
creator_id,
5+
platform_type,
6+
title,
7+
description,
8+
published_at,
9+
subscriber_count,
10+
thumbnail_url
11+
) VALUES
12+
('e2113e44-de27-4139-878d-7c199b4773a7', '1184405770', '36bc2f5d-89b7-45a0-82ec-64e2902f3287', 'twitch', '紡木こかげ', '', '2020-01-01T00:00:00Z', 0, '');

0 commit comments

Comments
 (0)