project BLF > class ComponentPool > method StartLoggerInPool

Description

Returns a handle to the business logging component and runs it on first time.


Parameters


ohLoggeroutputhandle


Internal usage


BLF
method ComponentPool.GetLogFileLocations
method ComponentPool.SetDebugLevelInPool


program code (program1/componentpool.p)

if not valid-handle(vhLoggerInPool)
or vhLoggerInPool:unique-id <> viLoggerUID
then do:
    <M-1 run Main  (output vcDummy (ocFolderName)) in tLogger>
    assign vhLoggerInPool = vhFcComponent
           viLoggerUID    = vhFcComponent:unique-id.
end.

assign ohLogger = vhLoggerInPool.