Carlos
Joined: 19 Mar 2004 Posts: 396 Location: Canyon, TX
|
Posted: Fri Sep 23, 2005 8:32 pm Post subject: Hierarchy.getLogger |
|
|
Kris, you should fix Hierarchy.getLogger. It still relies in the old AA behavior, so it produces out of bounds errors. The replace code I'm using is:
Code: |
synchronized LoggerInstance getLogger (char[] name)
{
name ~= ".";
LoggerInstance * l = name in loggers;
if (l is null)
{
// create a new logger
LoggerInstance li = new LoggerInstance (this, name);
l = &li;
// insert into linked list
insertLogger (*l);
// look for and adjust children
updateLoggers (*l, true);
// insert into map
loggers [name] = *l;
}
return *l;
}
|
|
|