Class: Win32::EventLog::EventLogStruct

Inherits:
Struct
  • Object
show all
Defined in:
lib/win32/eventlog.rb

Overview

The EventLogStruct encapsulates a single event log record.

Instance Attribute Summary collapse

Instance Attribute Details

#categoryObject

Returns the value of attribute category

Returns:

  • (Object)

    the current value of category



64
65
66
# File 'lib/win32/eventlog.rb', line 64

def category
  @category
end

#computerObject

Returns the value of attribute computer

Returns:

  • (Object)

    the current value of computer



64
65
66
# File 'lib/win32/eventlog.rb', line 64

def computer
  @computer
end

#descriptionObject

Returns the value of attribute description

Returns:

  • (Object)

    the current value of description



64
65
66
# File 'lib/win32/eventlog.rb', line 64

def description
  @description
end

#event_idObject

Returns the value of attribute event_id

Returns:

  • (Object)

    the current value of event_id



64
65
66
# File 'lib/win32/eventlog.rb', line 64

def event_id
  @event_id
end

#event_typeObject

Returns the value of attribute event_type

Returns:

  • (Object)

    the current value of event_type



64
65
66
# File 'lib/win32/eventlog.rb', line 64

def event_type
  @event_type
end

#record_numberObject

Returns the value of attribute record_number

Returns:

  • (Object)

    the current value of record_number



64
65
66
# File 'lib/win32/eventlog.rb', line 64

def record_number
  @record_number
end

#sourceObject

Returns the value of attribute source

Returns:

  • (Object)

    the current value of source



64
65
66
# File 'lib/win32/eventlog.rb', line 64

def source
  @source
end

#string_insertsObject

Returns the value of attribute string_inserts

Returns:

  • (Object)

    the current value of string_inserts



64
65
66
# File 'lib/win32/eventlog.rb', line 64

def string_inserts
  @string_inserts
end

#time_generatedObject

Returns the value of attribute time_generated

Returns:

  • (Object)

    the current value of time_generated



64
65
66
# File 'lib/win32/eventlog.rb', line 64

def time_generated
  @time_generated
end

#time_writtenObject

Returns the value of attribute time_written

Returns:

  • (Object)

    the current value of time_written



64
65
66
# File 'lib/win32/eventlog.rb', line 64

def time_written
  @time_written
end

#userObject

Returns the value of attribute user

Returns:

  • (Object)

    the current value of user



64
65
66
# File 'lib/win32/eventlog.rb', line 64

def user
  @user
end