Skip to content

Commit 9e8cb4c

Browse files
authoredJul 17, 2021
log in single line (#262)
1 parent 948b82e commit 9e8cb4c

File tree

3 files changed

+8
-4
lines changed

3 files changed

+8
-4
lines changed
 

‎CHANGELOG.md

+6
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# Changelog
22

3+
## Unreleased
4+
5+
### Features
6+
7+
- Log in single line ([#262](https://github.com/getsentry/sentry-unity/pull/262))
8+
39
## 0.4.2
410

511
### Features

‎src/Sentry.Unity/UnityLogger.cs

+1-3
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,7 @@ public void Log(SentryLevel logLevel, string? message, Exception? exception = nu
4848

4949
string GetLog()
5050
{
51-
var log = $@"Sentry: {logLevel}
52-
{Format(message, args)}
53-
{exception}";
51+
var log = $"Sentry: ({logLevel}) {Format(message, args)} {exception}";
5452
_interceptor?.Intercept(log);
5553
return log;
5654
}

‎src/sentry-dotnet

0 commit comments

Comments
 (0)
Please sign in to comment.