GtkSharp/doc/en/GLib/Log.xml

227 lines
9.8 KiB
XML
Raw Normal View History

<Type Name="Log" FullName="GLib.Log">
<TypeSignature Language="C#" Value="public class Log" Maintainer="auto" />
<AssemblyInfo>
<AssemblyName>glib-sharp</AssemblyName>
<AssemblyPublicKey></AssemblyPublicKey>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyCulture>neutral</AssemblyCulture>
<Attributes />
</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>
<Docs>
<summary>Message logging functions.</summary>
<remarks></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>
<Base>
<BaseTypeName>System.Object</BaseTypeName>
</Base>
<Interfaces />
<Attributes />
<Members>
<Member MemberName="PrintTraceLogFunction">
<MemberSignature Language="C#" Value="public static void PrintTraceLogFunction (string domain, GLib.LogLevelFlags level, string message);" />
<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>
<summary>To be added</summary>
<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>
<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);" />
<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>
<summary>To be added</summary>
<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>
<remarks>To be added</remarks>
</Docs>
</Member>
<Member MemberName="SetAlwaysFatal">
<MemberSignature Language="C#" Value="public static GLib.LogLevelFlags SetAlwaysFatal (string logDomain, GLib.LogLevelFlags fatalMask);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>GLib.LogLevelFlags</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="logDomain" Type="System.String" />
<Parameter Name="fatalMask" Type="GLib.LogLevelFlags" />
</Parameters>
<Docs>
<summary>To be added</summary>
<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>
<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 (GLib.LogLevelFlags fatalMask);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>GLib.LogLevelFlags</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="fatalMask" Type="GLib.LogLevelFlags" />
</Parameters>
<Docs>
<summary>To be added</summary>
<param name="fatalMask">an object of type <see cref="T:GLib.LogLevelFlags" /></param>
<returns>an object of type <see cref="T:GLib.LogLevelFlags" /></returns>
<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);" />
<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>
<summary>To be added</summary>
<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>
<remarks>To be added</remarks>
</Docs>
</Member>
<Member MemberName="SetPrintErrorHandler">
<MemberSignature Language="C#" Value="public static GLib.PrintFunc SetPrintErrorHandler (GLib.PrintFunc handler);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>GLib.PrintFunc</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="handler" Type="GLib.PrintFunc" />
</Parameters>
<Docs>
<summary>To be added</summary>
<param name="handler">an object of type <see cref="T:GLib.PrintFunc" /></param>
<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);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>GLib.PrintFunc</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="handler" Type="GLib.PrintFunc" />
</Parameters>
<Docs>
<summary>To be added</summary>
<param name="handler">an object of type <see cref="T:GLib.PrintFunc" /></param>
<returns>an object of type <see cref="T:GLib.PrintFunc" /></returns>
<remarks>To be added</remarks>
</Docs>
</Member>
<Member MemberName="RemoveLogHandler">
<MemberSignature Language="C#" Value="public static void RemoveLogHandler (string logDomain, uint handlerID);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="logDomain" Type="System.String" />
<Parameter Name="handlerID" Type="System.UInt32" />
</Parameters>
<Docs>
<summary>To be added</summary>
<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>
<remarks>To be added</remarks>
</Docs>
</Member>
<Member MemberName="SetLogHandler">
<MemberSignature Language="C#" Value="public static uint SetLogHandler (string logDomain, GLib.LogLevelFlags flags, GLib.LogFunc logFunc);" />
<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>
<summary>To be added</summary>
<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>
<returns>an object of type <see cref="T:System.UInt32" /></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);" />
<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 []" />
</Parameters>
<Docs>
<summary>To be added</summary>
<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="format">an object of type <see cref="T:System.String" /></param>
<param name="args">an object of type <see cref="T:System.Object" /> []</param>
<remarks>To be added</remarks>
</Docs>
</Member>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public Log ();" />
<MemberType>Constructor</MemberType>
<ReturnValue />
<Parameters />
<Docs>
<summary>To be added</summary>
<returns>an object of type <see cref="T:GLib.Log" /></returns>
<remarks>To be added</remarks>
</Docs>
</Member>
</Members>
</Type>