init

fun init(platform: String, userId: String, logger: YLS.Logger)

YLS 초기화. 앱의 Application.onCreate()에서 초기화하는 것을 권장합니다.

Parameters

platform

플랫폼 이름

userId

유저 ID. 비로그인 상태라면 YLS.generateRandomId로 임시 ID 생성 권장

logger

실질적인 로깅 객체. YLS.Logger의 서브 타입