Exemple #1
0
    /// <summary>
    /// Ensures the logging context.
    /// </summary>
    protected LogContext EnsureLog()
    {
        LogContext log = LogContext.EnsureLog(ctlAsync.ProcessGUID);

        log.LogSingleEvents = false;
        return(log);
    }
Exemple #2
0
 /// <summary>
 /// Ensures the logging context.
 /// </summary>
 protected LogContext EnsureLog()
 {
     LogContext log = LogContext.EnsureLog(ctlAsync.ProcessGUID);
     log.Reversed = true;
     log.LineSeparator = "<br />";
     return log;
 }
    /// <summary>
    /// Ensures the logging context.
    /// </summary>
    protected LogContext EnsureLog()
    {
        LogContext currentLog = LogContext.EnsureLog(ctlAsync.ProcessGUID);

        currentLog.Reversed      = true;
        currentLog.LineSeparator = "<br />";

        return(currentLog);
    }
Exemple #4
0
    /// <summary>
    /// Ensures the logging context.
    /// </summary>
    protected LogContext EnsureLog()
    {
        LogContext log = LogContext.EnsureLog(ctlAsync.ProcessGUID);

        log.LogSingleEvents = false;
        log.Reversed        = true;
        log.LineSeparator   = "<br />";
        return(log);
    }
    /// <summary>
    /// Ensures and returns the log context for the async control.
    /// </summary>
    private LogContext EnsureAsyncLogContext()
    {
        var log = LogContext.EnsureLog(ucAsync.ProcessGUID);

        log.Reversed      = true;
        log.LineSeparator = "<br />";

        return(log);
    }
    protected void btnRunDummy_Click(object sender, EventArgs e)
    {
        LogContext.EnsureLog(Guid.NewGuid());

        CMSThread dummy = new CMSThread(RunTest);

        dummy.Start();

        Thread.Sleep(100);
        ReloadData();
    }
    protected void btnRunDummy_Click(object sender, EventArgs e)
    {
        LogContext log = LogContext.EnsureLog(Guid.NewGuid());

        log.Reversed      = true;
        log.LineSeparator = "<br />";

        CMSThread dummy = new CMSThread(RunTest);

        dummy.Start();

        Thread.Sleep(100);
        ReloadData();
    }
Exemple #8
0
    /// <summary>
    /// Ensures the logging context
    /// </summary>
    protected LogContext EnsureLog()
    {
        LogContext currentLog = LogContext.EnsureLog(ctlAsync.ProcessGUID);

        return(currentLog);
    }
    /// <summary>
    /// Ensures the logging context
    /// </summary>
    protected LogContext EnsureLog()
    {
        LogContext log = LogContext.EnsureLog(ctlAsyncLog.ProcessGUID);

        return(log);
    }
Exemple #10
0
    /// <summary>
    /// Ensures and returns the log context for the async control.
    /// </summary>
    private LogContext EnsureAsyncLogContext()
    {
        var log = LogContext.EnsureLog(ucAsync.ProcessGUID);

        return(log);
    }