Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

setCustomLogger implementation from Android Library is not present in iOS library #1023

Open
AbrahamArmasCordero opened this issue Jul 9, 2024 · 0 comments · May be fixed by #1026
Open
Assignees

Comments

@AbrahamArmasCordero
Copy link
Contributor

Is your feature request related to a problem? Please describe.
Android has this method in the global Parameters section of the documentation ->
image

that can be used as so (it's an example) ->

PrebidMobile.setCustomLogger(object : LogUtil.PrebidLogger
{
	override fun println(messagePriority: Int, tag: String, message: String)
	{
		when (messagePriority)
		{
			org.prebid.mobile.LogUtil.NONE    -> CustomLoggerExample.none(tag, message)
			org.prebid.mobile.LogUtil.VERBOSE -> CustomLoggerExample.v(tag, message)
			org.prebid.mobile.LogUtil.DEBUG   -> CustomLoggerExample.d(tag, message)
			org.prebid.mobile.LogUtil.INFO    -> CustomLoggerExample.i(tag, message)
			org.prebid.mobile.LogUtil.WARN    -> CustomLoggerExample.w(tag, message)
			org.prebid.mobile.LogUtil.ERROR   -> CustomLoggerExample.e(tag, message)
			org.prebid.mobile.LogUtil.ASSERT  -> CustomLoggerExample.e(tag, message)
			else            -> CustomLoggerExample.unkown(tag, message)
		}
	}
	
	override fun e(tag: String, message: String, throwable: Throwable)
	{
		CustomLoggerExample.e(tag, throwable)
	}
})

Describe the solution you'd like
Have the same method with same capabilities

@jsligh jsligh self-assigned this Jul 15, 2024
@jsligh jsligh linked a pull request Jul 16, 2024 that will close this issue
@jsligh jsligh linked a pull request Jul 16, 2024 that will close this issue
@bretg bretg assigned YuriyVelichkoPI and unassigned jsligh Jul 22, 2024
@jsligh jsligh removed the in review label Jul 30, 2024
@jsligh jsligh assigned jsligh and unassigned YuriyVelichkoPI Aug 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Under Review
Development

Successfully merging a pull request may close this issue.

3 participants