From: stephan b. <st...@s1...> - 2005-01-12 10:34:14
|
On Tuesday 11 January 2005 16:56, Christian Prochnow wrote: > The first LogTarget plugin is already in CVS: > ConsoleLogTarget [alias: Console] i could just look at the sources instead of asking, but i'll ask anyway: did you look at Factory<>::alias()? That allows you to register arbitrary aliases for class names, to make this type of aliasing transparent to clients. zB: LogManager::instance().alias( "DefaultLogger", "ConsoleLogTarget" ); -- ----- st...@s1... http://s11n.net "...pleasure is a grace and is not obedient to the commands of the will." -- Alan W. Watts |