Format:
Recent snippets matching tags of log tail
<%@ Page Title="" Language="C#" MasterPageFile="~/Admin.master" AutoEventWireup="true" CodeFile="ViewLog.aspx.cs" Inherits="Module_Admin_ViewLog" ValidateRequest="false" %> <asp:Content ID="Content1" ContentPlaceHolderID="ContentHeader" Runat="Server"> <style type="text/css"> .lastUpdate { height: .8em; font-size: .8em; }
241 Views
no comments
#region REST_api [System.Web.Services.WebMethod] public static IList<string> GetLogTail(string logname, string numrows) { int lineCnt = 1; List<string> lines = new List<string>(); int maxLines; if (!int.TryParse(numrows, out maxLines))
120 Views
no comments
Subscribe
Discuss
What's new
What is it
New Snippet
Recent Snippets
My Snippets
Web Code
Search
