Changeset 11619 for branches

Show
Ignore:
Timestamp:
11/11/08 11:19:25 (8 weeks ago)
Author:
javier.amor.garcia@…
Message:

untabified and indented

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/pop-proxy-branch/ebox/src/EBox/LogHelper.pm

    r7318 r11619  
    1616# Class: EBox::LogHelper 
    1717# 
    18 #       This class exposes the interface to be implemented by those 
    19 #       modules willing to process logs generated by their daemon or service. 
    20 #       An instance of this class must be returned inheriting from  
    21 #       EBox::LogObserver and implementing the method logHelper() 
     18#       This class exposes the interface to be implemented by those 
     19#       modules willing to process logs generated by their daemon or service. 
     20#       An instance of this class must be returned inheriting from  
     21#       EBox::LogObserver and implementing the method logHelper() 
    2222# 
    2323package EBox::LogHelper; 
     
    2828sub new  
    2929{ 
    30         my $class = shift; 
    31         my $self = {}; 
    32         bless($self, $class); 
    33         return $self; 
     30    my $class = shift; 
     31    my $self = {}; 
     32    bless($self, $class); 
     33    return $self; 
    3434} 
    3535 
    3636# Method: logFiles  
    3737# 
    38 #       This function must return the file or files to be read from. 
     38#       This function must return the file or files to be read from. 
    3939# 
    4040# Returns: 
    4141# 
    42 #       array ref - containing the whole paths 
     42#       array ref - containing the whole paths 
    4343# 
    4444sub logFiles 
    4545{ 
    46         return [];       
     46    return [];       
    4747} 
    4848 
    4949# Method: processLine  
    5050# 
    51 #       This function will be run every time a new line is received in 
    52 #       the associated file. You must parse the line, and generate 
    53 #       the messages which will be logged to eBox through an object 
    54 #       implementing <EBox::AbstractLogger> interface. 
     51#       This function will be run every time a new line is received in 
     52#       the associated file. You must parse the line, and generate 
     53#       the messages which will be logged to eBox through an object 
     54#       implementing <EBox::AbstractLogger> interface. 
    5555# 
    5656# Parameters: 
    5757# 
    58 #       file - file name 
    59 #       line - string containing the log line 
    60 #       dbengine - An instance of class implemeting AbstractDBEngine interface 
    61 #        
     58#       file - file name 
     59#       line - string containing the log line 
     60#       dbengine - An instance of class implemeting AbstractDBEngine interface 
     61#        
    6262sub processLine # (file, line, dbengine)  
    6363{ 
    64         return undef; 
     64    return undef; 
    6565} 
    6666