Usage
=====

Instantiate the client with your DSN:

::

    ravenClient = new RavenClient('http://public:secret@example.com/project-id');

Capturing Exceptions
--------------------

Call out to the client in your catch block:

::

    try
    {
        int i2 = 0;
        int i = 10 / i2;
    }
    catch (Exception e)
    {
        ravenClient.CaptureException(e);
    }

    

Logging Non-Exceptions
----------------------

You can capture a message without being bound by an exception:

::

    
    ravenClient.CaptureMessage('Hello World!');

Additional Data
---------------

The capture methods allow you to provide additional data to be sent with your request. CaptureException supports both the
``tags`` and ``extra`` properties, and CaptureMessage additionally supports the ``level`` property.

The full argument specs are:

::

    CaptureException(Exception e, Dictionary<string, string> tags = null, object extra = null)
    
    CaptureMessage(string message, ErrorLevel level = ErrorLevel.info, Dictionary<string, string> tags = null, object extra = null)

Usage
=====

Instantiate the client with your DSN:

::

    ravenClient = new RavenClient('http://public:secret@example.com/project-id');

Capturing Exceptions
--------------------

Call out to the client in your catch block:

::

    try
    {
        int i2 = 0;
        int i = 10 / i2;
    }
    catch (Exception e)
    {
        ravenClient.CaptureException(e);
    }

    

Logging Non-Exceptions
----------------------

You can capture a message without being bound by an exception:

::

    
    ravenClient.CaptureMessage('Hello World!');

Additional Data
---------------

The capture methods allow you to provide additional data to be sent with your request. CaptureException supports both the
``tags`` and ``extra`` properties, and CaptureMessage additionally supports the ``level`` property.

The full argument specs are:

::

    CaptureException(Exception e, Dictionary<string, string> tags = null, object extra = null)
    
    CaptureMessage(string message, ErrorLevel level = ErrorLevel.info, Dictionary<string, string> tags = null, object extra = null)


Resources
---------

* `Build Status <http://teamcity.codebetter.com/project.html?projectId=project344&tab=projectOverview>`_ (requires registration)
* `Code <http://github.com/getsentry/raven-csharp>`_
* `Mailing List <https://groups.google.com/group/getsentry>`_
* `IRC <irc://irc.freenode.net/sentry>`_  (irc.freenode.net, #sentry)

Add some basic resource links
Add some basic resource links
