Sha256: 9fb9a72a87a1ddc2c63451041543c7e0bcd95f1ed4e1f27b74b9e08f334cb1bc

Contents?: true

Size: 1.83 KB

Versions: 51

Compression:

Stored size: 1.83 KB

Contents

/*------------------------------------------------------------------------
* (The MIT License)
* 
* Copyright (c) 2008-2011 Rhomobile, Inc.
* 
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
* 
* The above copyright notice and this permission notice shall be included in
* all copies or substantial portions of the Software.
* 
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE.
* 
* http://rhomobile.com
*------------------------------------------------------------------------*/

using System;
using rho.logging;

namespace rho.common
{
    public class RhoEmptyLogger : RhoLogger
    {
        protected override void logMessage(int severity, String msg, Exception e, boolean bOutputOnly)
        {
        }

        public override void FATAL(String message, Exception e)
        {
		    processFatalError();
	    }

	    public override void FATAL(String message) {
		    processFatalError();
	    }

        public override void FATAL(Exception e)
        {
		    processFatalError();
	    }

	    public RhoEmptyLogger() : base(""){
	
	    }
    }
}

Version data entries

51 entries across 51 versions & 1 rubygems

Version Path
rhodes-5.5.18 platform/wp7/RhoRubyLib/logging/RhoEmptyLogger.cs
rhodes-5.5.17 platform/wp7/RhoRubyLib/logging/RhoEmptyLogger.cs
rhodes-5.5.15 platform/wp7/RhoRubyLib/logging/RhoEmptyLogger.cs
rhodes-5.5.0.22 platform/wp7/RhoRubyLib/logging/RhoEmptyLogger.cs
rhodes-5.5.2 platform/wp7/RhoRubyLib/logging/RhoEmptyLogger.cs
rhodes-5.5.0.7 platform/wp7/RhoRubyLib/logging/RhoEmptyLogger.cs
rhodes-5.5.0.3 platform/wp7/RhoRubyLib/logging/RhoEmptyLogger.cs
rhodes-5.5.0 platform/wp7/RhoRubyLib/logging/RhoEmptyLogger.cs
rhodes-3.5.1.12 platform/wp7/RhoRubyLib/logging/RhoEmptyLogger.cs
rhodes-3.3.5 platform/wp7/RhoRubyLib/logging/RhoEmptyLogger.cs
rhodes-3.4.2 platform/wp7/RhoRubyLib/logging/RhoEmptyLogger.cs
rhodes-3.3.4 platform/wp7/RhoRubyLib/logging/RhoEmptyLogger.cs
rhodes-3.3.3 platform/wp7/RhoRubyLib/logging/RhoEmptyLogger.cs
rhodes-3.3.3.beta.4 platform/wp7/RhoRubyLib/logging/RhoEmptyLogger.cs
rhodes-3.3.3.beta.3 platform/wp7/RhoRubyLib/logging/RhoEmptyLogger.cs
rhodes-3.3.3.beta.2 platform/wp7/RhoRubyLib/logging/RhoEmptyLogger.cs
rhodes-3.3.3.beta.1 platform/wp7/RhoRubyLib/logging/RhoEmptyLogger.cs
rhodes-3.3.2 platform/wp7/RhoRubyLib/logging/RhoEmptyLogger.cs
rhodes-3.3.2.beta.7 platform/wp7/RhoRubyLib/logging/RhoEmptyLogger.cs
rhodes-3.3.2.beta.6 platform/wp7/RhoRubyLib/logging/RhoEmptyLogger.cs