Skip to content

LogChannelLocation 2.0#17

Open
KyNorthstar wants to merge 9 commits into
productionfrom
feature/New-LogChannel-Architecture
Open

LogChannelLocation 2.0#17
KyNorthstar wants to merge 9 commits into
productionfrom
feature/New-LogChannel-Architecture

Conversation

@KyNorthstar

Copy link
Copy Markdown
Contributor

Instead of a hardcoded enum, it's now protocols, of which you can create custom instances.

To do this, I also needed to introduce generics to LogChannel, and so I introduced a marker protocol that it now conforms to.

Also introduced a bunch of .defaults.

Of course, this requires a 0.6.0

@KyNorthstar KyNorthstar added bug Something isn't working enhancement New feature or request labels Jun 2, 2021
@KyNorthstar KyNorthstar self-assigned this Jun 2, 2021
Comment thread Sources/SimpleLogging/LogChannel/LogChannel.swift Outdated
Comment thread Sources/SimpleLogging/LogChannel/LogChannel.swift Outdated
Comment thread Sources/SimpleLogging/LogChannel/LogChannel.swift Outdated
Comment thread Sources/SimpleLogging/LogChannel/LogChannel.swift Outdated
Comment thread Sources/SimpleLogging/LogChannel/LogChannel.swift Outdated
Comment thread Sources/SimpleLogging/LogChannel/LogChannel.swift Outdated
@KyNorthstar KyNorthstar removed the bug Something isn't working label Jun 9, 2023
KyNorthstar added a commit that referenced this pull request Jun 9, 2023
- Addressing PR comments
- Cleaning up the code & docs a bit
- Adding SwiftUI-style extension statics
KyNorthstar added a commit that referenced this pull request Jun 9, 2023
KyNorthstar and others added 3 commits June 8, 2023 23:26
Instead of a hardcoded enum, it's now protocols, of which you can create custom instances.

To do this, I also needed to introduce generics to `LogChannel`, and so I introduced a marker protocol that it now conforms to.

Also introduced a bunch of `.default`s.
- Addressing PR comments
- Cleaning up the code & docs a bit
- Adding SwiftUI-style extension statics
KyNorthstar added a commit that referenced this pull request Jun 9, 2023
@KyNorthstar KyNorthstar force-pushed the feature/New-LogChannel-Architecture branch from d390715 to 1823dd8 Compare June 9, 2023 06:01
KyNorthstar added a commit that referenced this pull request Jun 9, 2023
@KyNorthstar KyNorthstar force-pushed the feature/New-LogChannel-Architecture branch from 1823dd8 to fa60446 Compare June 9, 2023 06:04
@KyNorthstar KyNorthstar force-pushed the feature/New-LogChannel-Architecture branch from 89e81e9 to 5a6dbca Compare June 9, 2023 06:08
@KyNorthstar KyNorthstar force-pushed the feature/New-LogChannel-Architecture branch from 5a6dbca to 8779490 Compare June 9, 2023 06:09
KyNorthstar and others added 3 commits February 27, 2024 17:24
- Made CustomRaw initializer public
- Fixed incorrect name/documentation for `.customRaw` factory function
- Fixed incorrect documentation of `AnyLogChannel`'s `.append` function
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant