Return-Path: Delivered-To: apmail-logging-log4net-user-archive@www.apache.org Received: (qmail 14938 invoked from network); 22 Feb 2006 20:06:54 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 22 Feb 2006 20:06:54 -0000 Received: (qmail 25705 invoked by uid 500); 22 Feb 2006 20:06:51 -0000 Delivered-To: apmail-logging-log4net-user-archive@logging.apache.org Received: (qmail 25582 invoked by uid 500); 22 Feb 2006 20:06:50 -0000 Mailing-List: contact log4net-user-help@logging.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: "Log4NET User" List-Id: Delivered-To: mailing list log4net-user@logging.apache.org Received: (qmail 25483 invoked by uid 99); 22 Feb 2006 20:06:50 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 22 Feb 2006 12:06:50 -0800 X-ASF-Spam-Status: No, hits=1.4 required=10.0 tests=DNS_FROM_RFC_ABUSE,DNS_FROM_RFC_WHOIS,HTML_MESSAGE X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [206.190.39.51] (HELO web54113.mail.yahoo.com) (206.190.39.51) by apache.org (qpsmtpd/0.29) with SMTP; Wed, 22 Feb 2006 12:06:49 -0800 Received: (qmail 45866 invoked by uid 60001); 22 Feb 2006 20:06:28 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=M/FgLf252kJkeu+cYImo+fOim+teqc971oNNy6/meQQLA+NWGN7upI00LCL+Cm4wdlu4fGemXObAqOn1lNlJTsslD4qF+Se+ai2iuFosbEberYQ3s3HWhX/dmAmMAMINK7R9/A/hrgZZNwYV9q1wZOxjqUA9VBO3Q3Xt0colQ9M= ; Message-ID: <20060222200628.45864.qmail@web54113.mail.yahoo.com> Received: from [143.182.124.4] by web54113.mail.yahoo.com via HTTP; Wed, 22 Feb 2006 12:06:27 PST Date: Wed, 22 Feb 2006 12:06:27 -0800 (PST) From: Shireesh Thanneru Subject: Re: Write(Level level, string message) To: Log4NET User In-Reply-To: <43fc93a3.11a1c284.24f0.ffff8b92@mx.gmail.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-398404258-1140638787=:45145" Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N --0-398404258-1140638787=:45145 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Yes, but not directly through ILog. Take a look at the following link: http://logging.apache.org/log4net/release/sdk/log4net.Repository.Hierarchy.Logger.Log_overloads.html You can cast the logger you get to (log4net.Repository.Hierarchy.Logger) and then call the http://logging.apache.org/log4net/release/sdk/log4net.Repository.Hierarchy.Logger.Log_overload_3.html method (pass null to the exception parameter when there is no exception). Thanks, Shireesh Vladimir Kovalenko wrote: Are there such methods as Write(Level level, string message); available? Best regards, Kovalenko Vladimir --0-398404258-1140638787=:45145 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: 8bit
Yes, but not directly through ILog. Take a look at the following link:
 
You can cast the logger you get to (log4net.Repository.Hierarchy.Logger) and then call the
 
method (pass null to the exception parameter when there is no exception).
Thanks,
 
Shireesh

Vladimir Kovalenko <gaset.kovalenko@gmail.com> wrote:
Are there such methods as Write(Level level, string m essage); available?
 
Best regards,
Kovalenko Vladimir
 
 

--0-398404258-1140638787=:45145--