Comments (8)
How about move all logging to P7 logging library, it will open a lot of new possibilities. As I've seen now there is just occasional std::cout and std::cerr piping but not much structure. What are you thinking about it?
from botcraft.
To be honest, I didn't have any time to think about that.
Right now I'm still refactoring all the AI/task system. There is also all the stuff with the Entities that I need to develop. And in addition there is an issue (#49 ) that needs to be fixed, and the location of the output you mentioned in another issue that I'd like to fix because I agree that's not ideal. This improvement is thus behind a lot of things in my todo list.
Besides that, the whole point of this library for me is doing things to learn. That's why I'm trying to keep the number of external dependencies as low as possible. So it's unlikely that I'll add one like P7 just for logging stuff, and rather develop something custom. Will it be as efficient and powerful as a specialised third party? No way. Will it be more interesting for me? Yes.
from botcraft.
Is it worth trying to implement in-house logging and go through every stdout/printf and collect it in central place? If so - should I make like "log level" thing aka info, warning, error, verbose?
from botcraft.
I'm not sure this is the right time to do this as things will be changed with the new behaviour system, I think it would be wiser to wait for that before trying this kind of things impacting many files.
from botcraft.
Ok, waiting for a bunch of new prints to logs to sort out. Longer logging is delayed - harder it is to rake.
from botcraft.
Well from my point of view it's not even in the scope of this library so it's not really an issue to delay that.
From what I've read from all the issues you've opened, I think you should consider creating your own fork of Botcraft and do whatever you want to with it without bothering with my slowness.
from botcraft.
No, if you want to call Botcraft a library it must have primitive capabilities of integration. Dropping random junk to stdout (sometimes even without \n on the end) is not acceptable.
from botcraft.
Ok so don't call it a library, fine. No problem.
I just code it for fun and because that interests me. I don't have the ambition to make it perfect or even usable for anyone other than me. I made the code open source because I thought it could interest other people and be useful for them.
Now if it's not for you, then just use another library that meets your criteria or build your own.
from botcraft.
Related Issues (20)
- [Version request] HOT 2
- [Version request] HOT 4
- [Version request] HOT 2
- [Version request] HOT 3
- [Version request] HOT 3
- [Version request] HOT 2
- Unable to connect to a Fabric server. / How to register a recipe serialiser and command node parser? HOT 2
- Compilation error with glfw HOT 3
- [Version request] HOT 4
- [Version request] HOT 2
- [Version request] HOT 3
- [Version request] HOT 2
- [Version request] HOT 2
- [Version request] HOT 8
- [Version request] HOT 3
- [Version request] HOT 2
- [Version request] HOT 2
- [Version request] HOT 7
- Build Failure On Multiple Builds HOT 3
- [Version request] HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from botcraft.