title: how to code in this session log
body: <p>I have coded my own log file, but the tool I am using asks to code this</p>
  
  <p>'Session.SessionLogPath' - below is where I am writing to log file. </p>
  
  <p>I am now sure how to include 'Session.SessionLogPath' in below.</p>
  
  <pre><code> string LogPath = AppDomain.CurrentDomain.BaseDirectory;
              string filename = "\\Log.txt";
              string filepath = LogPath + filename;
              if (!File.Exists(filepath))
              {
                  StreamWriter writer = File.CreateText(filepath);
                  writer.Close();
              }
              using (StreamWriter writer = new StreamWriter(filepath, true))
              {
                  writer.WriteLine(Message);
  </code></pre>