M
Michael Powe
Hello,
I have implemented simple logging using the Logger API. This logs
just from one class in the package. I would like to log to the same
file from more than one class in the package, but I am unsure how to
set this up.
The way I am now doing it is to create a logger with an instance
method. The resulting logger is referenced in the appropriate methods
of the class.
I've looked at some web resources about logging, but I'm not sure how
to create a package-level logger that could be reached by multiple
classes. One of my concerns would be that one logger call not step on
another.
Thanks.
mp
I have implemented simple logging using the Logger API. This logs
just from one class in the package. I would like to log to the same
file from more than one class in the package, but I am unsure how to
set this up.
The way I am now doing it is to create a logger with an instance
method. The resulting logger is referenced in the appropriate methods
of the class.
I've looked at some web resources about logging, but I'm not sure how
to create a package-level logger that could be reached by multiple
classes. One of my concerns would be that one logger call not step on
another.
Thanks.
mp