Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: Support for CLI applications #392

Open
vegidio opened this issue Feb 11, 2024 · 0 comments
Open

Feature Request: Support for CLI applications #392

vegidio opened this issue Feb 11, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@vegidio
Copy link

vegidio commented Feb 11, 2024

Does Kermit support CLI applications?
I got it working in my iOS app, but when I tried to create a CLI application using KMP, it didn't print anything in my terminal. It only worked after I created a custom LogWriter, like this:

class YourCustomWriter : LogWriter() {
    override fun log(severity: Severity, message: String, tag: String, throwable: Throwable?) {
        println(message)
    }
}

Logger.setLogWriters(YourCustomWriter())
Logger.d { "Test" }
@samhill303 samhill303 changed the title Support for CLI applications Feature Request: Support for CLI applications Apr 9, 2024
@TadeasKriz TadeasKriz added the enhancement New feature or request label Apr 9, 2024
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

No branches or pull requests

2 participants