You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, the logger object is build using a property that is generated via the configurationdocument object.
Since the configurationdocument class also use write-verbose statement, when they are called during the load of the module, the module actually throws an error saying that the path provided to write-pshtmllog is empty. That is because the configurationDocument is not completley created yet.
IT would be better to decouple the logger object from any setting file, and simply make sure that the logger object runs first when the module gets loaded.
The text was updated successfully, but these errors were encountered:
Currently, the logger object is build using a property that is generated via the configurationdocument object.
Since the configurationdocument class also use write-verbose statement, when they are called during the load of the module, the module actually throws an error saying that the path provided to write-pshtmllog is empty. That is because the configurationDocument is not completley created yet.
IT would be better to decouple the logger object from any setting file, and simply make sure that the logger object runs first when the module gets loaded.
The text was updated successfully, but these errors were encountered: