mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2024-12-25 15:15:39 +00:00
93748ff346
svn path=/trunk/gtk-sharp/; revision=122562
242 lines
10 KiB
XML
242 lines
10 KiB
XML
<Type Name="Log" FullName="GLib.Log">
|
|
<TypeSignature Language="C#" Value="public class Log" Maintainer="auto" />
|
|
<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 ();" />
|
|
<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);" />
|
|
<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);" />
|
|
<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);" />
|
|
<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);" />
|
|
<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);" />
|
|
<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);" />
|
|
<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="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>
|
|
<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);" />
|
|
<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);" />
|
|
<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);" />
|
|
<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>
|