dotnet / dotnet/aspnetcore

Can't access SignalR logging on Android

Open
#40,392 13 comments 9 reactions 0 assignees View on GitHub
area-signalr feature-client-java investigate
Dominant language
C#
Stars
38.4k
Forks
10.9k
Avg merge
2d 5h
Merged PRs (30d)
276

Description

### Is there an existing issue for this?

- [X] I have searched the existing issues

### Describe the bug

Logger is not preffered solution for android and even if we use it somehow internally, then we cannot turn it on. That's because it uses HubConnection class itself for tag. And that gets proguarded/obfuscated.
ADB does not allow tag of asterisk or dots - eg: "*.*.*.a$HubConnection".

Please allow us to set up logging from java/kotlin side on Android.

### Expected Behavior

Logging into Logcat and possible override.

### Steps To Reproduce

_No response_

### Exceptions (if any)

_No response_

### .NET Version

_No response_

### Anything else?

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.