The method initialize the class. The service will call it once at starting when initialize all loggers.
Namespace:
LeCouteauSuisse.APIAssembly: LeCouteauSuisseAPI (in LeCouteauSuisseAPI.dll) Version: 1.0.0.2 (1.0.0.2)
Syntax
C# |
---|
public virtual void Initialize( LoggerContext ctx ) |
Visual Basic (Declaration) |
---|
Public Overridable Sub Initialize ( _ ctx As LoggerContext _ ) |
Visual C++ |
---|
public: virtual void Initialize( LoggerContext^ ctx ) |
Parameters
- ctx
- Type: LeCouteauSuisse.API..::.LoggerContext
The context of the logger, this parameter comes from the service.
Implements
ILogger..::.Initialize(LoggerContext)
Remarks
If you override the Initialize(LoggerContext) method don't forget to call the Initialize of the base class with this line :
base.Initialize(ctx);