This project is read-only.

TraceLogCollector

This class collects the trace log of SALAD.

Methods
TraceLogCollector.GetLog($datestr)
TraceLogCollector.Initialize($user)

Trace information format
Name Summary
FileName a file name of Transcrpit log.
DateStr a date string.
OnWhat the computer name.
Who the user name.
When operation date time as System.DateTime.
CommandLine a line inputted.


ex)
# create instance
$tc = new TraceLogCollector;
# initialize
$tc = $tc.Initialize($env:username);
# get log
$l = $tc.GetLog((Get-Date -Format "yyyyMMdd"));
# check all
$l;
# check the log on this computer
$l | ?{$_.OnWhat -eq $env:computername};

Last edited Mar 2, 2013 at 1:53 PM by Tom__S, version 3

Comments

No comments yet.