-s
flag. Below is an example of listing demo_app service logs, where demo_app is an id of service.-n
flag. Below is an example of listing demo_app service logs, where output lines count are set to 1000-e
flag. Below is an example of displaying logs of all deployed services on development environment of my_project project.-e
and service id using -s
flag.codestore-utils
.log
- informational logs that might make sense to system administrators, and highlight the progress of the applicationerror
- error logs of considerable importance that will prevent normal program execution, but might still allow the application to continue runningwarn
- potentially harmful situations of interest that indicate potential problems - debug
- information that is diagnostically helpful to people more than to system administratorsverbose
- verbose information about any thing which may be usefulmessage
, context
and data
.message
- is a message, which will be loggedcontext
(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 message
error
method that has a slightly different signature: