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
if event in eventwiever : possibility to use an existing log or to create a specific one for the application
if file : possibility to choice format .log,.txt
The text was updated successfully, but these errors were encountered:
For exemple
Log -Destination EVENT -Journal SYSTEM -Type WARN -Message "my message" -Source AD
Log -Destination FILE -FileType LOG -Type WARM -Message "my message" -Source AD -Timestamp
We may have to change the Log object.
we should manage polymorphism to use WriteMessage it can be ad-hoc polymorphism where we can just surcharge the method based on the input
or use inclusive polymorphism where Log is a generic log object and inherence
Have the choice of the destination of the logs:
event in eventviewer
file
if event in eventwiever : possibility to use an existing log or to create a specific one for the application
if file : possibility to choice format .log,.txt
The text was updated successfully, but these errors were encountered: