Re: [Vala] Help with pub-sub class

2017-11-01 Thread Steven Oliver
I've made some progress on this if anyone wants some answers for posterity. * Instead of using a struct I created a new class and I now pass an full object. This let's me have default values. The following are still eluding me: * The signal "publish" seems unable to take two parameters. (I don't

[Vala] Help with pub-sub class

2017-10-28 Thread Steven Oliver
With the help of other developers here on the list I managed to get my logging class setup and working (thanks!). Now, that it's there, though, I want to continue adding to it. The first big thing I want to do is come up with default values for incoming messages (e.g. a default log level of ERROR