RemoteLogger

open class RemoteLogger(url: String, context: Context) : YLS.Logger

로그 데이터를 url로 PUT 요청을 보내는 Logger입니다.

RemoteLoggingWorker를 사용하여 백그라운드에서 http 요청을 처리합니다.

Parameters

url

로깅 요청을 보낼 url

context

WorkManager.getInstance()에 필요한 Context

Constructors

Link copied to clipboard
constructor(url: String, context: Context)

Functions

Link copied to clipboard
open fun enqueue(eventData: YLSEventData)
Link copied to clipboard
open fun flush()