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

Be able to have a LogHandler from wrapped languages #2489

Open
6 tasks
Mizux opened this issue Apr 13, 2021 · 0 comments
Open
6 tasks

Be able to have a LogHandler from wrapped languages #2489

Mizux opened this issue Apr 13, 2021 · 0 comments
Assignees
Labels
Feature Request Missing Feature/Wrapper Lang: C++ Native implementation issue Lang: Java Java wrapper issue Lang: .NET .Net wrapper issue Lang: Python Python wrapper issue OS: FreeBSD FreeBSD OS OS: Linux GNU/Linux OS OS: Mac MacOS OS: Windows Windows OS
Milestone

Comments

@Mizux
Copy link
Collaborator

Mizux commented Apr 13, 2021

extract from #2245 for the LogHandler part

ToDo list

  • Python support:
    • Be able to control log handler from Python
  • Java support:
    • Be able to control log handler from Java
  • .Net support:
    • Be able to control log handler from .Net

Devnote:

.NET

According to Ozzah:

I suggest Solver.EnableOutput() needs an overhaul. Specifically, I may not want to write directly to the console and I may not want to write it to a file. In C#, it's common to use ILogger to record information, either to screen, file, database, Kafka, etc.
In C#, when we create and start a Process, we can override the Process.StandardInput, Process.StandardOutput, and Process.StandardError with our own StreamReader and StreamWriter implementations.
I think it would be useful to be able to supply a StreamWriter to Solver.EnableOutput(), and that way it's up to us to decide what to do with that output.

@Mizux Mizux added Feature Request Missing Feature/Wrapper OS: Windows Windows OS OS: Linux GNU/Linux OS OS: Mac MacOS Lang: Java Java wrapper issue Lang: .NET .Net wrapper issue Lang: Python Python wrapper issue Lang: C++ Native implementation issue OS: FreeBSD FreeBSD OS labels Apr 13, 2021
@Mizux Mizux added this to the v9.1 milestone Apr 13, 2021
@Mizux Mizux self-assigned this Apr 13, 2021
@Mizux Mizux added this to To do in ToDo via automation Apr 13, 2021
@Mizux Mizux modified the milestones: v9.1, v9.2 Jul 7, 2021
@Mizux Mizux modified the milestones: v9.2, v9.3 Oct 6, 2021
@Mizux Mizux modified the milestones: v9.3, v10.0 Feb 11, 2022
@Mizux Mizux modified the milestones: v10.0, Backlog Apr 26, 2024
@Mizux Mizux removed this from To do in ToDo Apr 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature Request Missing Feature/Wrapper Lang: C++ Native implementation issue Lang: Java Java wrapper issue Lang: .NET .Net wrapper issue Lang: Python Python wrapper issue OS: FreeBSD FreeBSD OS OS: Linux GNU/Linux OS OS: Mac MacOS OS: Windows Windows OS
1 participant