Git Product home page Git Product logo

Comments (17)

trumpets avatar trumpets commented on April 28, 2024

This would be awesome! What's the procedure on getting it in? I think I could help with it :)

from entitas.

mzaks avatar mzaks commented on April 28, 2024

I am not sure yet :)

First just wanted to see how much interest there is for such a feature.

Let's meditate on it for a couple more days and than flesh out a plan.

from entitas.

SvDvorak avatar SvDvorak commented on April 28, 2024

It sounds pretty interesting. Would it be possible to also see which system did the action?

from entitas.

mzaks avatar mzaks commented on April 28, 2024

This is what I meant by Logical events.
Combined with state events you would see something like

2015-12-26T09:56:21Z game1 user1 session1 InitSystem1 startExecution
2015-12-26T09:56:21Z game1 user1 session1 CorePool 34526 45673 1 e_created
2015-12-26T09:56:21Z game1 user1 session1 CorePool 34526 45673 1 c_added PositionComponent(5,4)
2015-12-26T09:56:21Z game1 user1 session1 InitSystem1 finishExecution
2015-12-26T09:56:21Z game1 user1 session1 SystemA startExecution
2015-12-26T09:56:21Z game1 user1 session1 CorePool 34526 45673 1 c_replaced PositionComponent(5,4) PositionComponent(5,5)
2015-12-26T09:56:21Z game1 user1 session1 SystemA finishExecution

This might get chatty, but I think it worth a try.
We can also adjust the log levels.

from entitas.

SvDvorak avatar SvDvorak commented on April 28, 2024

Ah, ok, was looking at the examples. Then I'm all for it as I've been wishing for a way to see what systems use what components (in an easier way than searching around in the code).

from entitas.

kartalguner avatar kartalguner commented on April 28, 2024

Hello,
I was just wondering what the benefits of having a logging system integrated with Entitas are. If you just provide the events and contexts then we are free to choose our own logging framework. I have previously gotten nlog and log4net to work in my experiments.

from entitas.

mzaks avatar mzaks commented on April 28, 2024

That was actually what I planned to do.
Figuring out all the hooks and maybe providing a few classes, which will make it easy to use those.

from entitas.

sschmid avatar sschmid commented on April 28, 2024

An integrated logging system could also make sense to use it as a foundation for visualization tools. A consistent logging output across projects could enable visualizing behaviour over time (e.g creating, changing and removing entities) which might help find some bugs.

from entitas.

kicholen avatar kicholen commented on April 28, 2024

It might help finding some bugs but as @mzaks said it would be useful only in dev state. The log output would be insane. If done I would like to see it as kind of plugin that is not built in to framework.
I agree with @SvDvorak checking for system-component dependencies is troublesome. Similar thing to Artemis-odb Component-Dependency-Matrix could resolve that issue quite nicely.

from entitas.

sschmid avatar sschmid commented on April 28, 2024

@kicholen I agree. It should be very easy to deactivate the logging. In the future I can imagine that we can build all kinds of visualization tools etc based on this data

from entitas.

JamesMcMahon avatar JamesMcMahon commented on April 28, 2024

One of the major problems with Unity development is there is no standard easy to extend logging interface. There have been attempts to replace the built in logger with something better but nothing that the entire community is using.

I think whatever solution you guys come up with needs to be easily extendable / modifiable to use 3rd party loggers.

from entitas.

sschmid avatar sschmid commented on April 28, 2024

Yes, I don't plan to add a logging framework (I already did one, it's open source NLog)
I plan to provide sth to plug into with any logging tool you like

from entitas.

sschmid avatar sschmid commented on April 28, 2024

@mzaks what's the state with this?

from entitas.

mzaks avatar mzaks commented on April 28, 2024

@sschmid Can add it to the new Plugins structure. Schools I clone develop or wait until the release and make PR on master?

from entitas.

sschmid avatar sschmid commented on April 28, 2024

Might be safer to wait for the next release. PR on develop please (default branch)
Does it require changes in entitas? or is it a Plugin?

from entitas.

mzaks avatar mzaks commented on April 28, 2024

It is a Plugin. Sending the system will/did execute event schools be figured out though. But it will still be a Plugin

from entitas.

sschmid avatar sschmid commented on April 28, 2024

It's been a while :) I saw a working prototype ages ago. Shall finalize this? Whats the state with the web UI?

from entitas.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.