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>
2005-05-23 20:41:51 +00:00
<AssemblyVersion > 2.0.0.0</AssemblyVersion>
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>
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>
<Base >
<BaseTypeName > System.Object</BaseTypeName>
</Base>
<Interfaces />
<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 >
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 >
<summary > To be added</summary>
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>
2003-02-12 01:58:24 +00:00
<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 >
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 >
<summary > To be added</summary>
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>
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 (string logDomain, GLib.LogLevelFlags fatalMask);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > GLib.LogLevelFlags</ReturnType>
</ReturnValue>
<Parameters >
2003-08-30 02:35:39 +00:00
<Parameter Name= "logDomain" Type= "System.String" />
<Parameter Name= "fatalMask" Type= "GLib.LogLevelFlags" />
</Parameters>
2003-02-12 01:58:24 +00:00
<Docs >
<summary > To be added</summary>
2003-08-30 02:35:39 +00:00
<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>
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 >
<summary > To be added</summary>
2003-08-30 02:35:39 +00:00
<param name= "fatalMask" > an object of type <see cref= "T:GLib.LogLevelFlags" /> </param>
<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>
<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 >
2003-08-30 02:35:39 +00:00
<Parameter Name= "logDomain" Type= "System.String" />
<Parameter Name= "logLevel" Type= "GLib.LogLevelFlags" />
<Parameter Name= "message" Type= "System.String" />
</Parameters>
2003-02-12 01:58:24 +00:00
<Docs >
<summary > To be added</summary>
2003-08-30 02:35:39 +00:00
<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>
2003-02-12 01:58:24 +00:00
<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 >
2003-08-30 02:35:39 +00:00
<Parameter Name= "handler" Type= "GLib.PrintFunc" />
</Parameters>
2003-02-12 01:58:24 +00:00
<Docs >
<summary > To be added</summary>
2003-08-30 02:35:39 +00:00
<param name= "handler" > an object of type <see cref= "T:GLib.PrintFunc" /> </param>
<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>
<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 >
2003-08-30 02:35:39 +00:00
<Parameter Name= "handler" Type= "GLib.PrintFunc" />
</Parameters>
2003-02-12 01:58:24 +00:00
<Docs >
<summary > To be added</summary>
2003-08-30 02:35:39 +00:00
<param name= "handler" > an object of type <see cref= "T:GLib.PrintFunc" /> </param>
<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>
<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 >
2003-08-30 02:35:39 +00:00
<Parameter Name= "logDomain" Type= "System.String" />
<Parameter Name= "handlerID" Type= "System.UInt32" />
</Parameters>
2003-02-12 01:58:24 +00:00
<Docs >
<summary > To be added</summary>
2003-08-30 02:35:39 +00:00
<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>
2003-02-12 01:58:24 +00:00
<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 >
2003-08-30 02:35:39 +00:00
<Parameter Name= "logDomain" Type= "System.String" />
<Parameter Name= "flags" Type= "GLib.LogLevelFlags" />
<Parameter Name= "logFunc" Type= "GLib.LogFunc" />
</Parameters>
2003-02-12 01:58:24 +00:00
<Docs >
<summary > To be added</summary>
2003-08-30 02:35:39 +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>
<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>
2005-05-23 21:11:27 +00:00
2003-02-12 01:58:24 +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>
2005-05-23 20:41:51 +00:00
<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>
2003-02-12 01:58:24 +00:00
</Members>
2005-05-23 20:41:51 +00:00
</Type>