You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/airspec.md
+8-1
Original file line number
Diff line number
Diff line change
@@ -170,6 +170,7 @@ $ sbt
170
170
> testOnly -- (pattern)/(pattern) #Run nested tests matching the nested pattern (/ is a dlimiter)
171
171
172
172
#Configure log levels of airframe-log
173
+
> testOnly ---l (level) #Set the default log level
173
174
> testOnly ---L(package):(level) #Set log level for a package
174
175
175
176
# sbt's default test functionalities:
@@ -192,7 +193,13 @@ Test names will be checked as case-insensitive partial match, so you only need t
192
193
193
194
### Configure Log Levels
194
195
195
-
AirSpec natively supports [airframe-log](https://wvlet.org/airframe/docs/airframe-log.html) for logging. To temporally change the log level of your test classes, use `-L` option:
196
+
AirSpec natively supports [airframe-log](https://wvlet.org/airframe/docs/airframe-log.html) for logging. To temporally change the log level, use `-l (log level)` option:
197
+
198
+
```scala
199
+
> testOnly ---l debug
200
+
```
201
+
202
+
To change the log level only for a specific package or a class, use `-L(package or class)=(log level)` option:
0 commit comments