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

#category ⇒ Object

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

#computer ⇒ Object

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

#description ⇒ Object

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_id ⇒ Object

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_type ⇒ Object

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_number ⇒ Object

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

#source ⇒ Object

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_inserts ⇒ Object

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_generated ⇒ Object

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_written ⇒ Object

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

#user ⇒ Object

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