Logging iets compactere callstack en voortaan al rood by >250ms (was >500)
svn path=/Website/trunk/; revision=30538
This commit is contained in:
@@ -90,7 +90,7 @@ htmlLogger =
|
||||
txt = "<1ms"
|
||||
else
|
||||
txt = us_taken.toFixed(us_taken<10?1:0) + "ms";
|
||||
if (us_taken > 500)
|
||||
if (us_taken > 250)
|
||||
style = " style=\"background-color: #FF0000;\"";
|
||||
else
|
||||
if (us_taken > 50)
|
||||
@@ -144,7 +144,7 @@ htmlLogger =
|
||||
this._file_handle.WriteLine(" padding: 0px; margin: 0px; font-size: 8pt; }");
|
||||
this._file_handle.WriteLine(".querystring { color: #666; }");
|
||||
this._file_handle.WriteLine(".orgurl { padding-left:6.5em; color: #666; }");
|
||||
this._file_handle.WriteLine("td.tm span { color: #888; font-size: 8pt; }");
|
||||
this._file_handle.WriteLine("td.tm span { color: #888; font-size: 7pt; }");
|
||||
this._file_handle.WriteLine("</style>");
|
||||
this._file_handle.WriteLine("<title>*" + (__LogfileTitle||Session("customerId")) + (rooturl?" "+rooturl:"") + " FACILITOR logger</title>");
|
||||
this._file_handle.WriteLine("</head>");
|
||||
|
||||
Reference in New Issue
Block a user