115 |
end |
end |
116 |
|
|
117 |
## |
## |
118 |
|
# Gets the info log slot |
119 |
|
# |
120 |
|
# return:: [FreeBASE::DataBus::Slot] The slot used for logging informational messages |
121 |
|
# |
122 |
|
def log_info |
123 |
|
@base_slot["log/info"] |
124 |
|
end |
125 |
|
|
126 |
|
## |
127 |
|
# Gets the debug log slot |
128 |
|
# |
129 |
|
# return:: [FreeBASE::DataBus::Slot] The slot used for logging debug messages |
130 |
|
# |
131 |
|
def log_debug |
132 |
|
@base_slot["log/debug"] |
133 |
|
end |
134 |
|
|
135 |
|
## |
136 |
|
# Gets the error log slot |
137 |
|
# |
138 |
|
# return:: [FreeBASE::DataBus::Slot] The slot used for logging error messages |
139 |
|
# |
140 |
|
def log_error |
141 |
|
@base_slot["log/error"] |
142 |
|
end |
143 |
|
|
144 |
|
## |
145 |
# Handle callback from Slot object |
# Handle callback from Slot object |
146 |
# |
# |
147 |
def databus_notify(event, slot) |
def databus_notify(event, slot) |