From: Christian P. <cp...@se...> - 2005-01-13 10:49:13
|
Am Mittwoch 12 Januar 2005 11:32 schrieb stephan beal: > 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" ); yes! i used the alias() method in the two macros. Christian |