P
Peter
Hi
I have a JLog class which is doing "logging", it will write some
string into a specific file.
Every class can init it and use it.
My question is: every class init one JLog object and use it OR only
one class init one JLog and pass it to the classes which need it?
I think the second is better, because it use lesser memory.
thanks
from Peter ([email protected])
I have a JLog class which is doing "logging", it will write some
string into a specific file.
Every class can init it and use it.
My question is: every class init one JLog object and use it OR only
one class init one JLog and pass it to the classes which need it?
I think the second is better, because it use lesser memory.
thanks
from Peter ([email protected])