Demo 1 - Initialization

   #Wrapper initialization 
.\InitializeLG4N.ps1 
   #Create a logger, this use the default appender
$Log = Get-LogLogger "MonLog"

   #Configure the log4net framework, use the default configuration
Set-LogBasicConfigurator -Default
   #Log in the console
$Log.Info("My first log message.")
  #The system log is running

Last edited Feb 15, 2009 at 4:23 PM by Batchman, version 6

Comments

No comments yet.