{"_id":"@apigrate/slack","_rev":"10-e818cc6cdfc1ea965e1e96d4b9416b14","name":"@apigrate/slack","description":"Convenience logger for transactional logging to Slack using inbound webhooks.","dist-tags":{"latest":"4.0.1"},"versions":{"2.0.0":{"name":"@apigrate/slack","version":"2.0.0","description":"A utility to standardize Apigrate solution logging to Slack using inbound webhooks.","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/gaumeister/apigrate-slack.git"},"keywords":["Apigrate","Slack"],"author":{"name":"Derek R. Gau"},"license":"MIT","bugs":{"url":"https://github.com/gaumeister/apigrate-slack/issues"},"homepage":"https://github.com/gaumeister/apigrate-slack#readme","dependencies":{"lodash":"^4.17.4","moment":"^2.18.1","request":"^2.81.0"},"gitHead":"d6b8bc614569453b4fc39f63469691dec93e428e","_id":"@apigrate/slack@2.0.0","_npmVersion":"5.6.0","_nodeVersion":"9.2.0","_npmUser":{"name":"apigratedev","email":"derek@apigrate.com"},"dist":{"integrity":"sha512-c24G8nqvqPa6O0TSj/6pcR/Q3Apj6Ugz7gSWKLgbKUsJRm0TNBR7MxOz2EndSzdGUQYPL+FhvWh/7otTD5qltg==","shasum":"e9c3c09633341534cd5cd70f51c2f8f99d11f9c6","tarball":"https://registry.npmjs.org/@apigrate/slack/-/slack-2.0.0.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD1CRuyeM8egNMrOcbQR06Oc5fZprK/yWwKfSnwK9TUsQIgaMA+5cadMwFZ+r9vIdjVxFcz/2gMIPEA4wX8TRSh7ZI="}]},"maintainers":[{"name":"apigratedev","email":"derek@apigrate.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/slack-2.0.0.tgz_1515689301259_0.22291196952573955"},"directories":{}},"2.0.1":{"name":"@apigrate/slack","version":"2.0.1","description":"A utility to standardize Apigrate solution logging to Slack using inbound webhooks.","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/gaumeister/apigrate-slack.git"},"keywords":["Apigrate","Slack"],"author":{"name":"Derek R. Gau"},"license":"MIT","bugs":{"url":"https://github.com/gaumeister/apigrate-slack/issues"},"homepage":"https://github.com/gaumeister/apigrate-slack#readme","dependencies":{"lodash":"^4.17.4","moment":"^2.18.1","request":"^2.81.0"},"gitHead":"f4b4663798437bdad8673f5be7fbcb641a7ef551","_id":"@apigrate/slack@2.0.1","_npmVersion":"5.6.0","_nodeVersion":"9.2.0","_npmUser":{"name":"apigratedev","email":"derek@apigrate.com"},"dist":{"integrity":"sha512-8jEaCtcqWvnapTlMRpOyDsAI7GFBBnuvmC9dx8jyuA7zZhJzIE53O9+H7v49bdFfq9BIHcy7hbV1DPVLvunBiA==","shasum":"68d87c48a51007c7aaff1a4ba4200c6220476965","tarball":"https://registry.npmjs.org/@apigrate/slack/-/slack-2.0.1.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCN4r/5lYlOZ4i3UuqFGwU9tcTi9To/Dhg1df5OnrWoxAIgeFIHfLMcf6OfqMc3C5XJ1RI3a3WijXbZQMcRPIiMmnk="}]},"maintainers":[{"name":"apigratedev","email":"derek@apigrate.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/slack-2.0.1.tgz_1515692938357_0.43826015037484467"},"directories":{}},"2.0.2":{"name":"@apigrate/slack","version":"2.0.2","description":"A utility to standardize Apigrate solution logging to Slack using inbound webhooks.","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/gaumeister/apigrate-slack.git"},"keywords":["Apigrate","Slack"],"author":{"name":"Derek R. Gau"},"license":"MIT","bugs":{"url":"https://github.com/gaumeister/apigrate-slack/issues"},"homepage":"https://github.com/gaumeister/apigrate-slack#readme","dependencies":{"lodash":"^4.17.4","moment":"^2.18.1","request":"^2.81.0"},"gitHead":"0e6df0e1db8ba5bc56e8e388a6ae8c943e585b07","_id":"@apigrate/slack@2.0.2","_npmVersion":"5.6.0","_nodeVersion":"9.2.0","_npmUser":{"name":"apigratedev","email":"derek@apigrate.com"},"dist":{"integrity":"sha512-XDNNuY+wsXk5m7SOssul5hcufCPHhnz0vQvJ4UALV1uYbnk9wWvNtmqXgIXOCGLVRdQjVWP+W801nb/gunmP8A==","shasum":"00eed27aa817145da57b7ae01d03162dba910770","tarball":"https://registry.npmjs.org/@apigrate/slack/-/slack-2.0.2.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDn9fTdnGsBVru9bcVevE73/SSSn3Ur05S1ZeWPh4P2NQIhAIv/Typ/7Zlx47SWOvRA1AzoVrpcImOavwOJWqmTCPvw"}]},"maintainers":[{"name":"apigratedev","email":"derek@apigrate.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/slack-2.0.2.tgz_1516032191515_0.3276965531986207"},"directories":{}},"2.0.3":{"name":"@apigrate/slack","version":"2.0.3","description":"Standardizes application transactional logging to Slack using inbound webhooks.","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/gaumeister/apigrate-slack.git"},"keywords":["Apigrate","Slack"],"author":{"name":"Derek R. Gau"},"license":"MIT","bugs":{"url":"https://github.com/gaumeister/apigrate-slack/issues"},"homepage":"https://github.com/gaumeister/apigrate-slack#readme","dependencies":{"lodash":"^4.17.4","moment":"^2.18.1","request":"^2.81.0"},"gitHead":"1e4b842f414db621646f803cb554f117bab56419","_id":"@apigrate/slack@2.0.3","_npmVersion":"5.6.0","_nodeVersion":"9.2.0","_npmUser":{"name":"apigratedev","email":"derek@apigrate.com"},"dist":{"integrity":"sha512-8f6lnvNz13blRJfZbqMPd2apo1CHWReSU69IzCAemETmvBxO/MKpRonx56sktlBSRSr/ohNFZjhGbC3R0JIj5g==","shasum":"2e8b707d389aa10d887d3cbe579a2d284bc23bd9","tarball":"https://registry.npmjs.org/@apigrate/slack/-/slack-2.0.3.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGegxyMBsm09NB9liV3YwQwrGIOoo6rkeTYkO1cvJPqtAiEAlrKlgBzKN5tL/FoHSvgDBsYi7JluSiUvJBMgNoCRB38="}]},"maintainers":[{"name":"apigratedev","email":"derek@apigrate.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/slack-2.0.3.tgz_1516914941160_0.8462387402541935"},"directories":{}},"3.0.0":{"name":"@apigrate/slack","version":"3.0.0","description":"Standardizes application transactional logging to Slack using inbound webhooks.","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/gaumeister/apigrate-slack.git"},"keywords":["Apigrate","Slack"],"author":{"name":"Derek R. Gau"},"license":"MIT","bugs":{"url":"https://github.com/gaumeister/apigrate-slack/issues"},"homepage":"https://github.com/gaumeister/apigrate-slack#readme","dependencies":{"lodash":"^4.17.11","moment":"^2.22.2","request":"^2.88.0","request-promise-native":"^1.0.5"},"gitHead":"b6fb33d6f3ddc6dd869e0ddf167758b878d8b495","_id":"@apigrate/slack@3.0.0","_npmVersion":"6.2.0","_nodeVersion":"9.2.0","_npmUser":{"name":"apigratedev","email":"derek@apigrate.com"},"dist":{"integrity":"sha512-a5ryFe3XCdE03R0zvIs21B6P4YHs/tEFpOlhJRDs+lZO3Co/Sl+lRSkdIXma/3dJl941Mse0lz7uTY6cQMJPow==","shasum":"e747601106cf7bb5b66770d946b5378cb2115689","tarball":"https://registry.npmjs.org/@apigrate/slack/-/slack-3.0.0.tgz","fileCount":5,"unpackedSize":14779,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbqQCcCRA9TVsSAnZWagAAupwQAKNjK8stRT9khw5lOdGZ\n7zt6cu/5mGZjmTcd5OR52zcfeuQOZxt/VUxzIhU233plCrnIoRTJ5s0aQLGK\n33Qj1bXBjkCGMPoiZk1lXRx2pwYLdTdEVZYx9Mqf+rhbY4NxJsX+r8b80reG\niajr5DvmJCB5IIVRNPyMQ5jgF1QpTtJf+QhRRIukSvXMbUqrnySOgbguAoCU\nrBsr3FwjULPefrdaUVcvVwgiiy4mDvYkdD6Ks2/mQwiJxIGjymoAs52+C31+\n86ngD7heQ2THE96dWJnFJ4WjkThj357BXngO3riRtCAay5GlpBQOJ/HgGbnX\ngsz0Nr9zdBOjcxC/ALCRWvlGbTn8cC4IpFdd18GQkNn8gzwbeVhSI8XeHbhS\nqQvugvnPgQDd7Rj1m+zPBlbA4p9Y3aSs1QMdGKJmopzN+lM7mbVWkWmx2bjX\nfsnyH7IQzR14llny/YAmvqCo9p9/OYWycBFZYnmBGrkuPNjg73qhWpQMs9fs\nm+P5olP/scWMfbmR1Xeg9A22clqfmWiWZ/WoeubiTXRKUtoDrqCFc2r7uunj\nsAF4+J+EjBTMz/adASEOKwXcp1JBkP7djUH9m+Y9p7km09AjOfNfezgQSBDi\nh0XJzU35YkLJXrJoNql1wkD3Dm0V5PQVUYlECJVWRFI5w26fbYozCxoDQVXf\n3ZW7\r\n=7VXM\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCEfaxEs7PZfWS5msqeUhjpaD7yQEC7vj6vMEXAMMIBmAIhANB858oMBh7/ZFHvo86YsCpV1nTQjRGJKWMs1NCcE9Zr"}]},"maintainers":[{"name":"apigratedev","email":"derek@apigrate.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/slack_3.0.0_1537802395926_0.828091438711847"},"_hasShrinkwrap":false},"3.0.1":{"name":"@apigrate/slack","version":"3.0.1","description":"Standardizes application transactional logging to Slack using inbound webhooks.","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/gaumeister/apigrate-slack.git"},"keywords":["Apigrate","Slack"],"author":{"name":"Derek R. Gau"},"license":"MIT","bugs":{"url":"https://github.com/gaumeister/apigrate-slack/issues"},"homepage":"https://github.com/gaumeister/apigrate-slack#readme","dependencies":{"lodash":"^4.17.11","moment":"^2.22.2","request":"^2.88.0","request-promise-native":"^1.0.5"},"gitHead":"b7faa27f2bda3a456e746908c1f769c4846f6983","_id":"@apigrate/slack@3.0.1","_npmVersion":"6.2.0","_nodeVersion":"9.2.0","_npmUser":{"name":"apigratedev","email":"derek@apigrate.com"},"dist":{"integrity":"sha512-ZA7hNqlF3bVotGTp6x7V8vqc81GhRO1sBx7B4pC+cqhB9MS7KETKFBolhrob7xuhQ/lD/xH+uEac8PzLdalMww==","shasum":"ed100103b79d989a7e499d25dbde1ba56e6bc605","tarball":"https://registry.npmjs.org/@apigrate/slack/-/slack-3.0.1.tgz","fileCount":5,"unpackedSize":14755,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb6c7OCRA9TVsSAnZWagAAkEUQAJMscvZ+up1+V8thr25k\n9zUEzcK3IKmjAHnYVxZ4AcyqePk5uq2TS2UEgRAwUf34X2HzvDodOHXulPyR\n1pmPp5/e6ktOph6mnYKgzJFr+zuYOgyVrw2Ol0kJB/+dxOPFD28NAURjAhKI\n7z5pEX0MXts+SBumqcsx3MHzK7THWuOwnL/vdcjhvyRzp4lnR1/uBttdTOQ/\nYpbQqzaUkhbVZOZgG6gyEeLizP42NvdvVUnkDh31fImVjXFJdeKtqAlGd/Xa\nBeLFqH5eUaeLwRlJaxStCtfq8HWUoshvrpHrpy/2qhRnE4lmEOrGEjbWViO6\n+fx6AVyn8bpAUG06gQBn9C7BhxLlZiBmIp8U5Tu2LD1NWuRsaEX4xp+kaLN7\nDDUHXGBTHIUFdaMjRUPUqFwH98+lD3a7kEVGkaomvDM12K/JU1OmbxMpZZjT\njwnAQgoKmB5b8WCreDjf1Ut5SA8iMMUMTCg1Awsa9+Run9Q+gz57o99K5gxD\nvw4eGkn1BEqvNpwoWlxCqszhMWpnx4Txk59iXYK4fpOsUKKcKHH62mI/q7zD\nLMkMqLkDxyRryXo1fmbVoLlUJiMhx7IvP33q+snNl71YeFKMdzuLC5yoQ8l/\n/GrP0Gm5uNDLdNRbd7lboSe6OBLFt32Qj/GmXs2lu6+GMMffv6dz7jM9prYv\nbeqY\r\n=8pYi\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGGG/ll5wDYrEJ/gquOzIkq9bRhq4llu01VMx8M0kNuMAiEAxmzB2hO2zS0UBo0DdDi3BLmBoaU2RaasSj+AbfjFrCc="}]},"maintainers":[{"name":"apigratedev","email":"derek@apigrate.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/slack_3.0.1_1542049485945_0.7866700077264634"},"_hasShrinkwrap":false},"4.0.0":{"name":"@apigrate/slack","version":"4.0.0","description":"Convenience logger for transactional logging to Slack using inbound webhooks.","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/gaumeister/apigrate-slack.git"},"keywords":["logging","log","Slack","Apigrate"],"author":{"name":"Derek R. Gau"},"license":"MIT","bugs":{"url":"https://github.com/gaumeister/apigrate-slack/issues"},"homepage":"https://github.com/gaumeister/apigrate-slack#readme","dependencies":{"node-fetch":"^2.6.1"},"devDependencies":{"dotenv":"^8.2.0"},"gitHead":"302653d163be449fd62550eda6d48a8db7b79841","_id":"@apigrate/slack@4.0.0","_nodeVersion":"12.16.3","_npmVersion":"6.14.7","dist":{"integrity":"sha512-bCzKNXyTBLEJTadc2lzTPGACN1pqlC3/7DjwG/lhRoIZhG4MdSTnPhwaP1SfSvbbU1ZkuQb/cMW1Sy+EFHBEgw==","shasum":"f9a9ffa3e555e779fda43648ff0ee04af0486a9e","tarball":"https://registry.npmjs.org/@apigrate/slack/-/slack-4.0.0.tgz","fileCount":4,"unpackedSize":11686,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf24B4CRA9TVsSAnZWagAAy1YQAIZTV3XqD6b8MferFp59\noOR+uej8H/p2VsraEawIXzYh025SGaLnLHXqfHR/fO6Pcuo0d5MirTwKcL0T\nxOirs/WsFzKoJE2PBS767ss4S0yUZiHEEIu+49DYJZaXNGrqt2gpLEP35vda\nXlwRdP19uYhO+JkEcAfCAfd86xP1XrOeNr5zbJ+oS48d7v7CyVqPYLjrdcFa\nRU+lmzq773SzKGw7/VstMLW41bZzmMXTc3b0e69tszUL7spa5I84xoWg+MO1\ngo3XuwbpogKcnPisDYUWbAzz3yGrDVbO4jPJE3yiaDB3B7u6J9FD2ac/B4Vc\nb3rpvGVaMriUccOjAvQWJC6RY45csI3wqM1T3bu2qYiqnbnRhp3m4hDtYHuC\nt8vn8JiwnSXZU0Py0CcqoTPxmzfwZgkfhFu2/XTPLUSMu08Qm53fw9osp1XB\njZ98pBcNo+YqPgeQblhA6iQFFf3czm4lrJ/IASgfajea7A4TVRJVLR2N1WFo\nwCd/T4uKEU+6bIfVxEctbI1u3pmIpNmAJkOupyxE1Lh1ljfAlV3r8J8GbeP0\nZMaStUYjh7EyF891g1JrtRIpVEoHooMuWBtTfVcbmqJKI3+ZiZRZfaoob/d0\nbc+qCPTHy9UBwdNAaEZrDswpJbFBEEVIGHcVA5+leMOcXh1GJGvCCe5/P74w\n4ryZ\r\n=pfvA\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAsP1h0DJ5TRmphKBzCOUP/qyLWok+3g8Dy0IgOqEzwKAiEAhPdGMDVc+WH/18PwfwNb0TcyVzZ1KXwp1MrNR2Ulg3Y="}]},"_npmUser":{"name":"apigratedev","email":"derek@apigrate.com"},"directories":{},"maintainers":[{"name":"apigratedev","email":"derek@apigrate.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/slack_4.0.0_1608220791550_0.18361441771292664"},"_hasShrinkwrap":false},"4.0.1":{"name":"@apigrate/slack","version":"4.0.1","description":"Convenience logger for transactional logging to Slack using inbound webhooks.","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/gaumeister/apigrate-slack.git"},"keywords":["logging","log","Slack","Apigrate"],"author":{"name":"Derek R. Gau"},"license":"MIT","bugs":{"url":"https://github.com/gaumeister/apigrate-slack/issues"},"homepage":"https://github.com/gaumeister/apigrate-slack#readme","dependencies":{"node-fetch":"^2.6.1"},"devDependencies":{"dotenv":"^8.2.0"},"gitHead":"710d3ab656e8677baa097485d4fd2628e23758e0","_id":"@apigrate/slack@4.0.1","_nodeVersion":"16.20.1","_npmVersion":"8.19.4","dist":{"integrity":"sha512-W1NgLsbDkLw6TQgJ60rt+yiQlho91mXgLKjKudxRLI9tnTvZhDkt7/XNrP51ep1Ln09SMa9hfB8n+YcP4OHdbg==","shasum":"3c273bce640cd2c44618f624f0fee69cbecc1142","tarball":"https://registry.npmjs.org/@apigrate/slack/-/slack-4.0.1.tgz","fileCount":4,"unpackedSize":11686,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIB2Zx8gERhnXSVeVH/T2+Fbq+VxjiOhQmtotQioZeKvwAiAVP7/M0My854rNQsYhNfhtjmjMng8fDi2n3FxioRBUkA=="}]},"_npmUser":{"name":"apigratedev","email":"derek@apigrate.com"},"directories":{},"maintainers":[{"name":"apigratedev","email":"derek@apigrate.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/slack_4.0.1_1687473528518_0.5401590671831349"},"_hasShrinkwrap":false}},"readme":"# apigrate-slack\nA simple utility to post messages to Slack using inbound webhooks. Useful for logging transactions to a channel where others can see the messages and take action if needed.\n\n## Usage\n\n### Instantiation\n```javascript\nvar webhook = 'your inbound webhook here';\n\nvar slack_logger = new SlackLogger(webhook,\n  \"test environment\",\n  \"SlackLogger Test\"\n);\n```\nIn the above simple example, the username for **each slack entry** will be 'test environment' and the author will be \"SlackLogger Test\". By convention, we use username to store our environment or host name and use the author to identify the app making the logging call from that environment. You are, of course, free to implement your own conventions.\n\nHere is a more detailed instantiation that includes additional information to be recorded on every logging call.\n```javascript\nvar webhook = 'your inbound webhook here';\n\nvar slack_logger = new SlackLogger(webhook,\n  \"test environment\",\n  \"Invoice Integration\",\n  {\n    author_url: \"http://documentation.about.invoice.integration\",\n    fields: {\n      account_id: 24601,\n      environment: \"test\"\n    }\n  }\n);\n```\nIn this case, `account_id` and `environment` fields will be added to the slack message on every log entry. The \"Invoice Integration\" author will be hyperlinked as well with the value of `author_url`. This is a nice way to tie documentation together with your log entries, or to hyperlink to an app that is logging activity.\n\n### Logging\nEach log message **must** have the following parameters:\n\n1. true/false indicating success or failure\n1. the log message (i.e. a summary)\n1. a more detailed message (optional). This could be log details, stack trace or other detailed information for the message (typically more useful to provide troubleshooting info on errors).\n\n\nHere's how to post a simple \"success\" message.\n```javascript\nslack_logger.log(\n  true,\n  'That worked.'\n);\n```\n\nIt is possible include more detail in log messages. Provide a more detailed message (up to 7500 characters) if you like. Note that this detailed message will be formatted in fixed-font code block immediately following the summary message for readability (newline characters are respected by Slack in the formatting). Additionally, the fields parameter allows you to specify additional data that may be helpful for reporting or troubleshooting **on specific log messages**.\n```javascript\nslack_logger.log(\n  true,\n  'Invoice Created.',\n  'Found customer.\\nThere are 3 invoice lines.\\nThe total amount is $107.80',\n  {\n    customer_id: 28390,\n    invoice_id: 123789\n  }\n);\n```\n\nError log messages (as shown below) are more useful when they include detailed information to allow consumers to troubleshoot more effectively.\n```javascript\nslack_logger.log(\n  false,\n  'Invoice creation failed.',\n  'Found customer.\\nException processing invoice lines.\\nThe quantity is missing for the line with product 1234879.',\n  {\n    customer_id: 28390,\n    product_id: 1234879,\n    product_sku: 'TS4921'\n  }\n);\n\n```\n","maintainers":[{"name":"apigratedev","email":"derek@apigrate.com"}],"time":{"modified":"2023-06-22T22:38:48.996Z","created":"2018-01-11T16:48:22.200Z","2.0.0":"2018-01-11T16:48:22.200Z","2.0.1":"2018-01-11T17:48:59.270Z","2.0.2":"2018-01-15T16:03:14.944Z","2.0.3":"2018-01-25T21:15:41.960Z","3.0.0":"2018-09-24T15:19:56.111Z","3.0.1":"2018-11-12T19:04:46.057Z","4.0.0":"2020-12-17T15:59:51.724Z","4.0.1":"2023-06-22T22:38:48.761Z"},"homepage":"https://github.com/gaumeister/apigrate-slack#readme","keywords":["logging","log","Slack","Apigrate"],"repository":{"type":"git","url":"git+https://github.com/gaumeister/apigrate-slack.git"},"author":{"name":"Derek R. Gau"},"bugs":{"url":"https://github.com/gaumeister/apigrate-slack/issues"},"license":"MIT","readmeFilename":"README.md"}