@@ -127,13 +127,13 @@ func ContainSequence(expectedSequence ...logEntry) types.GomegaMatcher {
127
127
// Info returns a log entry of type lager.INFO that can be used with the
128
128
// HaveLogged and ContainSequence matchers.
129
129
func Info (options ... option ) logEntry {
130
- return Entry (lager .INFO , options ... )
130
+ return LogEntry (lager .INFO , options ... )
131
131
}
132
132
133
133
// Debug returns a log entry of type lager.DEBUG that can be used with the
134
134
// HaveLogged and ContainSequence matchers.
135
135
func Debug (options ... option ) logEntry {
136
- return Entry (lager .DEBUG , options ... )
136
+ return LogEntry (lager .DEBUG , options ... )
137
137
}
138
138
139
139
// AnyErr can be used to check of arbitrary errors when matching Error entries.
@@ -146,7 +146,7 @@ func Error(err error, options ...option) logEntry {
146
146
options = append (options , Data ("error" , err .Error ()))
147
147
}
148
148
149
- return Entry (lager .ERROR , options ... )
149
+ return LogEntry (lager .ERROR , options ... )
150
150
}
151
151
152
152
// Fatal returns a log entry of type lager.FATAL that can be used with the
@@ -156,12 +156,12 @@ func Fatal(err error, options ...option) logEntry {
156
156
options = append (options , Data ("error" , err .Error ()))
157
157
}
158
158
159
- return Entry (lager .FATAL , options ... )
159
+ return LogEntry (lager .FATAL , options ... )
160
160
}
161
161
162
- // Entry returns a log entry for the specified log level that can be used with
162
+ // LogEntry returns a log entry for the specified log level that can be used with
163
163
// the HaveLogged and ContainSequence matchers.
164
- func Entry (logLevel lager.LogLevel , options ... option ) logEntry {
164
+ func LogEntry (logLevel lager.LogLevel , options ... option ) logEntry {
165
165
entry := logEntry (lager.LogFormat {
166
166
LogLevel : logLevel ,
167
167
Data : lager.Data {},
0 commit comments