Skip to content

POC: Implementation of SLG-0003#406

Closed
samuelmurray wants to merge 3 commits intoapple:mainfrom
samuelmurray:SLG-0003_poc
Closed

POC: Implementation of SLG-0003#406
samuelmurray wants to merge 3 commits intoapple:mainfrom
samuelmurray:SLG-0003_poc

Conversation

@samuelmurray
Copy link
Contributor

Draft implementation of SLG-0003 #405

Comment on lines +340 to +349
self.log(
level: .trace,
message(),
error: error,
metadata: metadata(),
source: source(),
file: file,
function: function,
line: line
)
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It’s a bit unfortunate that we don’t call the trace method with #if !MaxLogLevelDebug && !MaxLogLevelInfo && !MaxLogLevelNotice && !MaxLogLevelWarning && !MaxLogLevelError && !MaxLogLevelCritical && !MaxLogLevelNone, but since we add a log overload as well, I thought it would make sense to call that, and so only do the metadata merging at one place.

@samuelmurray
Copy link
Contributor Author

Replaced with #425

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant