-sflag. Below is an example of listing demo_app service logs, where demo_app is an id of service.
-nflag. Below is an example of listing demo_app service logs, where output lines count are set to 1000
log- informational logs that might make sense to system administrators, and highlight the progress of the application
error- error logs of considerable importance that will prevent normal program execution, but might still allow the application to continue running
warn- potentially harmful situations of interest that indicate potential problems -
debug- information that is diagnostically helpful to people more than to system administrators
verbose- verbose information about any thing which may be useful
message- is a message, which will be logged
context(empty by default) - is a prefix of message, which usually indicated where method was executed (method, or constructor name for example...). This param are .
data(optional) - is an optional object, which will be stringify and append to the
errormethod that has a slightly different signature: