2003-02-12 01:58:24 +00:00
<Type Name= "Log" FullName= "GLib.Log" >
2003-02-15 03:08:25 +00:00
<TypeSignature Language= "C#" Value= "public class Log" Maintainer= "auto" />
2003-02-12 01:58:24 +00:00
<AssemblyInfo >
<AssemblyName > glib-sharp</AssemblyName>
2003-12-24 01:35:30 +00:00
<AssemblyPublicKey >
</AssemblyPublicKey>
2003-02-12 01:58:24 +00:00
</AssemblyInfo>
2003-02-23 07:26:30 +00:00
<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>
2009-01-06 16:29:49 +00:00
<Base >
<BaseTypeName > System.Object</BaseTypeName>
</Base>
<Interfaces />
2003-02-12 01:58:24 +00:00
<Docs >
2003-08-30 02:35:39 +00:00
<summary > Message logging functions.</summary>
2003-12-24 01:35:30 +00:00
<remarks >
2004-06-27 14:47:17 +00:00
<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>
2003-12-24 01:35:30 +00:00
</remarks>
2003-08-30 02:35:39 +00:00
<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>
2003-02-12 01:58:24 +00:00
</Docs>
<Members >
2009-01-06 16:29:49 +00:00
<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);" />
2003-02-12 01:58:24 +00:00
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters >
2003-08-30 02:35:39 +00:00
<Parameter Name= "domain" Type= "System.String" />
<Parameter Name= "level" Type= "GLib.LogLevelFlags" />
<Parameter Name= "message" Type= "System.String" />
</Parameters>
2003-02-12 01:58:24 +00:00
<Docs >
2003-08-30 02:35:39 +00:00
<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>
2009-01-06 16:29:49 +00:00
<summary > To be added</summary>
2003-02-12 01:58:24 +00:00
<remarks > To be added</remarks>
</Docs>
</Member>
2009-01-06 16:29:49 +00:00
<Member MemberName= "PrintTraceLogFunction" >
<MemberSignature Language= "C#" Value= "public static void PrintTraceLogFunction (string domain, GLib.LogLevelFlags level, string message);" />
2003-02-12 01:58:24 +00:00
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters >
2003-08-30 02:35:39 +00:00
<Parameter Name= "domain" Type= "System.String" />
<Parameter Name= "level" Type= "GLib.LogLevelFlags" />
<Parameter Name= "message" Type= "System.String" />
</Parameters>
2003-02-12 01:58:24 +00:00
<Docs >
2003-08-30 02:35:39 +00:00
<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>
2009-01-06 16:29:49 +00:00
<summary > To be added</summary>
2003-02-12 01:58:24 +00:00
<remarks > To be added</remarks>
</Docs>
</Member>
2009-01-06 16:29:49 +00:00
<Member MemberName= "RemoveLogHandler" >
<MemberSignature Language= "C#" Value= "public static void RemoveLogHandler (string logDomain, uint handlerID);" />
2003-02-12 01:58:24 +00:00
<MemberType > Method</MemberType>
<ReturnValue >
2009-01-06 16:29:49 +00:00
<ReturnType > System.Void</ReturnType>
2003-02-12 01:58:24 +00:00
</ReturnValue>
<Parameters >
2003-08-30 02:35:39 +00:00
<Parameter Name= "logDomain" Type= "System.String" />
2009-01-06 16:29:49 +00:00
<Parameter Name= "handlerID" Type= "System.UInt32" />
2003-08-30 02:35:39 +00:00
</Parameters>
2003-02-12 01:58:24 +00:00
<Docs >
2003-08-30 02:35:39 +00:00
<param name= "logDomain" > an object of type <see cref= "T:System.String" /> </param>
2009-01-06 16:29:49 +00:00
<param name= "handlerID" > an object of type <see cref= "T:System.UInt32" /> </param>
<summary > To be added</summary>
2003-02-12 01:58:24 +00:00
<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 >
2003-08-30 02:35:39 +00:00
<Parameter Name= "fatalMask" Type= "GLib.LogLevelFlags" />
</Parameters>
2003-02-12 01:58:24 +00:00
<Docs >
2003-08-30 02:35:39 +00:00
<param name= "fatalMask" > an object of type <see cref= "T:GLib.LogLevelFlags" /> </param>
2009-01-06 16:29:49 +00:00
<summary > To be added</summary>
2003-08-30 02:35:39 +00:00
<returns > an object of type <see cref= "T:GLib.LogLevelFlags" /> </returns>
2003-02-12 01:58:24 +00:00
<remarks > To be added</remarks>
</Docs>
</Member>
2009-01-06 16:29:49 +00:00
<Member MemberName= "SetAlwaysFatal" >
<MemberSignature Language= "C#" Value= "public static GLib.LogLevelFlags SetAlwaysFatal (string logDomain, GLib.LogLevelFlags fatalMask);" />
2003-02-12 01:58:24 +00:00
<MemberType > Method</MemberType>
<ReturnValue >
2009-01-06 16:29:49 +00:00
<ReturnType > GLib.LogLevelFlags</ReturnType>
2003-02-12 01:58:24 +00:00
</ReturnValue>
<Parameters >
2003-08-30 02:35:39 +00:00
<Parameter Name= "logDomain" Type= "System.String" />
2009-01-06 16:29:49 +00:00
<Parameter Name= "fatalMask" Type= "GLib.LogLevelFlags" />
2003-08-30 02:35:39 +00:00
</Parameters>
2003-02-12 01:58:24 +00:00
<Docs >
2003-08-30 02:35:39 +00:00
<param name= "logDomain" > an object of type <see cref= "T:System.String" /> </param>
2009-01-06 16:29:49 +00:00
<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>
2003-02-12 01:58:24 +00:00
<remarks > To be added</remarks>
</Docs>
</Member>
2009-01-06 16:29:49 +00:00
<Member MemberName= "SetLogHandler" >
<MemberSignature Language= "C#" Value= "public static uint SetLogHandler (string logDomain, GLib.LogLevelFlags flags, GLib.LogFunc logFunc);" />
2003-02-12 01:58:24 +00:00
<MemberType > Method</MemberType>
<ReturnValue >
2009-01-06 16:29:49 +00:00
<ReturnType > System.UInt32</ReturnType>
2003-02-12 01:58:24 +00:00
</ReturnValue>
<Parameters >
2009-01-06 16:29:49 +00:00
<Parameter Name= "logDomain" Type= "System.String" />
<Parameter Name= "flags" Type= "GLib.LogLevelFlags" />
<Parameter Name= "logFunc" Type= "GLib.LogFunc" />
2003-08-30 02:35:39 +00:00
</Parameters>
2003-02-12 01:58:24 +00:00
<Docs >
2009-01-06 16:29:49 +00:00
<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>
2003-02-12 01:58:24 +00:00
<summary > To be added</summary>
2009-01-06 16:29:49 +00:00
<returns > an object of type <see cref= "T:System.UInt32" /> </returns>
2003-02-12 01:58:24 +00:00
<remarks > To be added</remarks>
</Docs>
</Member>
2009-01-06 16:29:49 +00:00
<Member MemberName= "SetPrintErrorHandler" >
<MemberSignature Language= "C#" Value= "public static GLib.PrintFunc SetPrintErrorHandler (GLib.PrintFunc handler);" />
2003-02-12 01:58:24 +00:00
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > GLib.PrintFunc</ReturnType>
</ReturnValue>
<Parameters >
2003-08-30 02:35:39 +00:00
<Parameter Name= "handler" Type= "GLib.PrintFunc" />
</Parameters>
2003-02-12 01:58:24 +00:00
<Docs >
2003-08-30 02:35:39 +00:00
<param name= "handler" > an object of type <see cref= "T:GLib.PrintFunc" /> </param>
2003-02-12 01:58:24 +00:00
<summary > To be added</summary>
2009-01-06 16:29:49 +00:00
<returns > an object of type <see cref= "T:GLib.PrintFunc" /> </returns>
2003-02-12 01:58:24 +00:00
<remarks > To be added</remarks>
</Docs>
</Member>
2009-01-06 16:29:49 +00:00
<Member MemberName= "SetPrintHandler" >
<MemberSignature Language= "C#" Value= "public static GLib.PrintFunc SetPrintHandler (GLib.PrintFunc handler);" />
2003-02-12 01:58:24 +00:00
<MemberType > Method</MemberType>
<ReturnValue >
2009-01-06 16:29:49 +00:00
<ReturnType > GLib.PrintFunc</ReturnType>
2003-02-12 01:58:24 +00:00
</ReturnValue>
<Parameters >
2009-01-06 16:29:49 +00:00
<Parameter Name= "handler" Type= "GLib.PrintFunc" />
2003-08-30 02:35:39 +00:00
</Parameters>
2003-02-12 01:58:24 +00:00
<Docs >
2009-01-06 16:29:49 +00:00
<param name= "handler" > an object of type <see cref= "T:GLib.PrintFunc" /> </param>
2003-02-12 01:58:24 +00:00
<summary > To be added</summary>
2009-01-06 16:29:49 +00:00
<returns > an object of type <see cref= "T:GLib.PrintFunc" /> </returns>
2003-02-12 01:58:24 +00:00
<remarks > To be added</remarks>
</Docs>
</Member>
2005-08-23 17:02:47 +00:00
<Member MemberName= "WriteLog" >
2005-05-23 20:41:51 +00:00
<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>
2003-02-12 01:58:24 +00:00
</Members>
2005-05-23 20:41:51 +00:00
</Type>