sfdx force:apex:log:tail

Options

NameDescription
--jsonFormat output as json
--loglevel <loglevel>Logging level for this command invocation
-u, --targetusername <targetusername>Username or alias for the target org; overrides default target org
--apiversion <apiversion>Override the api version used for api requests made by this command
-c, --colorColorize noteworthy log lines
-d, --debuglevel <debuglevel>Debug level for trace flag
-s, --skiptraceflagSkip trace flag setup