<Type Name="Log" FullName="GLib.Log">
  <TypeSignature Language="C#" Value="public class Log" Maintainer="auto" />
  <TypeSignature Language="ILAsm" Value=".class public auto ansi beforefieldinit Log extends System.Object" />
  <AssemblyInfo>
    <AssemblyName>glib-sharp</AssemblyName>
    <AssemblyPublicKey>
    </AssemblyPublicKey>
  </AssemblyInfo>
  <ThreadSafetyStatement>Gtk# is thread aware, but not thread safe; See the <link location="node:gtk-sharp/programming/threads">Gtk# Thread Programming</link> for details.</ThreadSafetyStatement>
  <Base>
    <BaseTypeName>System.Object</BaseTypeName>
  </Base>
  <Interfaces />
  <Docs>
    <summary>Message logging functions.</summary>
    <remarks>
      <example>
        <code lang="C#">
//Some common logging methods. 
// Print the messages for the NULL domain 
LogFunc logFunc = new LogFunc (Log.PrintLogFunction); 
Log.SetLogHandler (null, LogLevelFlags.All, logFunc); 
// Print messages and stack trace for Gtk critical messages 
logFunc = new LogFunc (Log.PrintTraceLogFunction); 
Log.SetLogHandler ("Gtk", LogLevelFlags.Critical, logFunc); 
</code>
      </example>
    </remarks>
    <example>
      <code language="C#">
//Some common logging methods.

// Print the messages for the NULL domain
LogFunc logFunc = new LogFunc (Log.PrintLogFunction);
Log.SetLogHandler (null, LogLevelFlags.All, logFunc);

// Print messages and stack trace for Gtk critical messages
logFunc = new LogFunc (Log.PrintTraceLogFunction);
Log.SetLogHandler ("Gtk", LogLevelFlags.Critical, logFunc);
      </code>
    </example>
  </Docs>
  <Members>
    <Member MemberName=".ctor">
      <MemberSignature Language="C#" Value="public Log ();" />
      <MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor() cil managed" />
      <MemberType>Constructor</MemberType>
      <ReturnValue />
      <Parameters />
      <Docs>
        <summary>To be added</summary>
        <remarks>To be added</remarks>
      </Docs>
    </Member>
    <Member MemberName="DefaultHandler">
      <MemberSignature Language="C#" Value="public static void DefaultHandler (string logDomain, GLib.LogLevelFlags logLevel, string message);" />
      <MemberSignature Language="ILAsm" Value=".method public static hidebysig void DefaultHandler(string logDomain, valuetype GLib.LogLevelFlags logLevel, string message) cil managed" />
      <MemberType>Method</MemberType>
      <ReturnValue>
        <ReturnType>System.Void</ReturnType>
      </ReturnValue>
      <Parameters>
        <Parameter Name="logDomain" Type="System.String" />
        <Parameter Name="logLevel" Type="GLib.LogLevelFlags" />
        <Parameter Name="message" Type="System.String" />
      </Parameters>
      <Docs>
        <param name="logDomain">an object of type <see cref="T:System.String" /></param>
        <param name="logLevel">an object of type <see cref="T:GLib.LogLevelFlags" /></param>
        <param name="message">an object of type <see cref="T:System.String" /></param>
        <summary>To be added</summary>
        <remarks>To be added</remarks>
      </Docs>
    </Member>
    <Member MemberName="PrintLogFunction">
      <MemberSignature Language="C#" Value="public static void PrintLogFunction (string domain, GLib.LogLevelFlags level, string message);" />
      <MemberSignature Language="ILAsm" Value=".method public static hidebysig void PrintLogFunction(string domain, valuetype GLib.LogLevelFlags level, string message) cil managed" />
      <MemberType>Method</MemberType>
      <ReturnValue>
        <ReturnType>System.Void</ReturnType>
      </ReturnValue>
      <Parameters>
        <Parameter Name="domain" Type="System.String" />
        <Parameter Name="level" Type="GLib.LogLevelFlags" />
        <Parameter Name="message" Type="System.String" />
      </Parameters>
      <Docs>
        <param name="domain">an object of type <see cref="T:System.String" /></param>
        <param name="level">an object of type <see cref="T:GLib.LogLevelFlags" /></param>
        <param name="message">an object of type <see cref="T:System.String" /></param>
        <summary>To be added</summary>
        <remarks>To be added</remarks>
      </Docs>
    </Member>
    <Member MemberName="PrintTraceLogFunction">
      <MemberSignature Language="C#" Value="public static void PrintTraceLogFunction (string domain, GLib.LogLevelFlags level, string message);" />
      <MemberSignature Language="ILAsm" Value=".method public static hidebysig void PrintTraceLogFunction(string domain, valuetype GLib.LogLevelFlags level, string message) cil managed" />
      <MemberType>Method</MemberType>
      <ReturnValue>
        <ReturnType>System.Void</ReturnType>
      </ReturnValue>
      <Parameters>
        <Parameter Name="domain" Type="System.String" />
        <Parameter Name="level" Type="GLib.LogLevelFlags" />
        <Parameter Name="message" Type="System.String" />
      </Parameters>
      <Docs>
        <param name="domain">an object of type <see cref="T:System.String" /></param>
        <param name="level">an object of type <see cref="T:GLib.LogLevelFlags" /></param>
        <param name="message">an object of type <see cref="T:System.String" /></param>
        <summary>To be added</summary>
        <remarks>To be added</remarks>
      </Docs>
    </Member>
    <Member MemberName="RemoveLogHandler">
      <MemberSignature Language="C#" Value="public static void RemoveLogHandler (string logDomain, uint handlerID);" />
      <MemberSignature Language="ILAsm" Value=".method public static hidebysig void RemoveLogHandler(string logDomain, unsigned int32 handlerID) cil managed" />
      <MemberType>Method</MemberType>
      <ReturnValue>
        <ReturnType>System.Void</ReturnType>
      </ReturnValue>
      <Parameters>
        <Parameter Name="logDomain" Type="System.String" />
        <Parameter Name="handlerID" Type="System.UInt32" />
      </Parameters>
      <Docs>
        <param name="logDomain">an object of type <see cref="T:System.String" /></param>
        <param name="handlerID">an object of type <see cref="T:System.UInt32" /></param>
        <summary>To be added</summary>
        <remarks>To be added</remarks>
      </Docs>
    </Member>
    <Member MemberName="SetAlwaysFatal">
      <MemberSignature Language="C#" Value="public static GLib.LogLevelFlags SetAlwaysFatal (GLib.LogLevelFlags fatalMask);" />
      <MemberSignature Language="ILAsm" Value=".method public static hidebysig valuetype GLib.LogLevelFlags SetAlwaysFatal(valuetype GLib.LogLevelFlags fatalMask) cil managed" />
      <MemberType>Method</MemberType>
      <ReturnValue>
        <ReturnType>GLib.LogLevelFlags</ReturnType>
      </ReturnValue>
      <Parameters>
        <Parameter Name="fatalMask" Type="GLib.LogLevelFlags" />
      </Parameters>
      <Docs>
        <param name="fatalMask">an object of type <see cref="T:GLib.LogLevelFlags" /></param>
        <summary>To be added</summary>
        <returns>an object of type <see cref="T:GLib.LogLevelFlags" /></returns>
        <remarks>To be added</remarks>
      </Docs>
    </Member>
    <Member MemberName="SetAlwaysFatal">
      <MemberSignature Language="C#" Value="public static GLib.LogLevelFlags SetAlwaysFatal (string logDomain, GLib.LogLevelFlags fatalMask);" />
      <MemberSignature Language="ILAsm" Value=".method public static hidebysig valuetype GLib.LogLevelFlags SetAlwaysFatal(string logDomain, valuetype GLib.LogLevelFlags fatalMask) cil managed" />
      <MemberType>Method</MemberType>
      <ReturnValue>
        <ReturnType>GLib.LogLevelFlags</ReturnType>
      </ReturnValue>
      <Parameters>
        <Parameter Name="logDomain" Type="System.String" />
        <Parameter Name="fatalMask" Type="GLib.LogLevelFlags" />
      </Parameters>
      <Docs>
        <param name="logDomain">an object of type <see cref="T:System.String" /></param>
        <param name="fatalMask">an object of type <see cref="T:GLib.LogLevelFlags" /></param>
        <summary>To be added</summary>
        <returns>an object of type <see cref="T:GLib.LogLevelFlags" /></returns>
        <remarks>To be added</remarks>
      </Docs>
    </Member>
    <Member MemberName="SetDefaultHandler">
      <MemberSignature Language="C#" Value="public static GLib.LogFunc SetDefaultHandler (GLib.LogFunc log_func);" />
      <MemberSignature Language="ILAsm" Value=".method public static hidebysig class GLib.LogFunc SetDefaultHandler(class GLib.LogFunc log_func) cil managed" />
      <MemberType>Method</MemberType>
      <ReturnValue>
        <ReturnType>GLib.LogFunc</ReturnType>
      </ReturnValue>
      <Parameters>
        <Parameter Name="log_func" Type="GLib.LogFunc" />
      </Parameters>
      <Docs>
        <param name="log_func">To be added.</param>
        <summary>To be added.</summary>
        <returns>To be added.</returns>
        <remarks>To be added.</remarks>
        <since version="Gtk# 3.0" />
      </Docs>
    </Member>
    <Member MemberName="SetLogHandler">
      <MemberSignature Language="C#" Value="public static uint SetLogHandler (string logDomain, GLib.LogLevelFlags flags, GLib.LogFunc logFunc);" />
      <MemberSignature Language="ILAsm" Value=".method public static hidebysig unsigned int32 SetLogHandler(string logDomain, valuetype GLib.LogLevelFlags flags, class GLib.LogFunc logFunc) cil managed" />
      <MemberType>Method</MemberType>
      <ReturnValue>
        <ReturnType>System.UInt32</ReturnType>
      </ReturnValue>
      <Parameters>
        <Parameter Name="logDomain" Type="System.String" />
        <Parameter Name="flags" Type="GLib.LogLevelFlags" />
        <Parameter Name="logFunc" Type="GLib.LogFunc" />
      </Parameters>
      <Docs>
        <param name="logDomain">an object of type <see cref="T:System.String" /></param>
        <param name="flags">an object of type <see cref="T:GLib.LogLevelFlags" /></param>
        <param name="logFunc">an object of type <see cref="T:GLib.PrintFunc" /></param>
        <summary>To be added</summary>
        <returns>an object of type <see cref="T:System.UInt32" /></returns>
        <remarks>To be added</remarks>
      </Docs>
    </Member>
    <Member MemberName="SetPrintErrorHandler">
      <MemberSignature Language="C#" Value="public static GLib.PrintFunc SetPrintErrorHandler (GLib.PrintFunc handler);" />
      <MemberSignature Language="ILAsm" Value=".method public static hidebysig class GLib.PrintFunc SetPrintErrorHandler(class GLib.PrintFunc handler) cil managed" />
      <MemberType>Method</MemberType>
      <ReturnValue>
        <ReturnType>GLib.PrintFunc</ReturnType>
      </ReturnValue>
      <Parameters>
        <Parameter Name="handler" Type="GLib.PrintFunc" />
      </Parameters>
      <Docs>
        <param name="handler">an object of type <see cref="T:GLib.PrintFunc" /></param>
        <summary>To be added</summary>
        <returns>an object of type <see cref="T:GLib.PrintFunc" /></returns>
        <remarks>To be added</remarks>
      </Docs>
    </Member>
    <Member MemberName="SetPrintHandler">
      <MemberSignature Language="C#" Value="public static GLib.PrintFunc SetPrintHandler (GLib.PrintFunc handler);" />
      <MemberSignature Language="ILAsm" Value=".method public static hidebysig class GLib.PrintFunc SetPrintHandler(class GLib.PrintFunc handler) cil managed" />
      <MemberType>Method</MemberType>
      <ReturnValue>
        <ReturnType>GLib.PrintFunc</ReturnType>
      </ReturnValue>
      <Parameters>
        <Parameter Name="handler" Type="GLib.PrintFunc" />
      </Parameters>
      <Docs>
        <param name="handler">an object of type <see cref="T:GLib.PrintFunc" /></param>
        <summary>To be added</summary>
        <returns>an object of type <see cref="T:GLib.PrintFunc" /></returns>
        <remarks>To be added</remarks>
      </Docs>
    </Member>
    <Member MemberName="WriteLog">
      <MemberSignature Language="C#" Value="public void WriteLog (string logDomain, GLib.LogLevelFlags flags, string format, object[] args);" />
      <MemberSignature Language="ILAsm" Value=".method public hidebysig instance void WriteLog(string logDomain, valuetype GLib.LogLevelFlags flags, string format, object[] args) cil managed" />
      <MemberType>Method</MemberType>
      <ReturnValue>
        <ReturnType>System.Void</ReturnType>
      </ReturnValue>
      <Parameters>
        <Parameter Name="logDomain" Type="System.String" />
        <Parameter Name="flags" Type="GLib.LogLevelFlags" />
        <Parameter Name="format" Type="System.String" />
        <Parameter Name="args" Type="System.Object[]">
          <Attributes>
            <Attribute>
              <AttributeName>System.ParamArray</AttributeName>
            </Attribute>
          </Attributes>
        </Parameter>
      </Parameters>
      <Docs>
        <param name="logDomain">To be added.</param>
        <param name="flags">To be added.</param>
        <param name="format">To be added.</param>
        <param name="args">To be added.</param>
        <summary>To be added.</summary>
        <remarks>To be added.</remarks>
      </Docs>
    </Member>
  </Members>
</Type>
