Best way to suppress INFO logs from `swiftgen` rule
tinder-maxwellelliott opened this issue · comments
Maxwell Elliott commented
Hello!
I am running into an issue where I get a lot of logs from SwiftGen, is there any way to remove these INFO logs but keep my other info logs? Thanks
INFO: From SwiftGen Projects/Modules/Domain/AModuleLocalized.swift
File written: bazel-out/ios-x86_64-min12-applebin_ios-ios_x86_64-fastbuild-ST-c928d317f2e9/bin/Projects/Modules/AModuleLocalized.swift
Thi Doan commented
I filed an issue for it a while ago here SwiftGen/SwiftGen#823.
Another way is creating a wrapper that invokes swiftgen and filters the output.
Maxwell Elliott commented
Thanks for the quick response!
Maxwell Elliott commented
I filed an issue for it a while ago here SwiftGen/SwiftGen#823.
Another way is creating a wrapper that invokes swiftgen and filters the output.
Do you do this in your codebase? Do you have a simple Genrule for this?
Thi Doan commented
No, it's still in my TODOs :)