{"_id":"palin","_rev":"12-4706ae7383e2d327253dbb82af63d12b","name":"palin","description":"A beautiful Bristol formatter for development logging","dist-tags":{"latest":"2.3.0"},"versions":{"1.0.0":{"name":"palin","version":"1.0.0","description":"A beautiful Bristol formatter for development logging","main":"palin.js","engines":{"node":">=4.0.0"},"scripts":{"test":"eslint . && mocha test/"},"repository":{"type":"git","url":"git+https://bitbucket.org/MarkHerhold/palin.git"},"keywords":["color","logger","formatter","bristol"],"author":{"name":"Mark Herhold","email":"mark.herhold@gmail.com"},"license":"MIT","dependencies":{"chalk":"^1.1.1","check-types":"^3.3.1"},"peerDependencies":{"bristol":"~0.3.3"},"devDependencies":{"benchmark":"^1.0.0","chai":"^3.4.1","eslint":"^1.10.3","mocha":"^2.3.4"},"gitHead":"5c91bba648bf5bea85c811a9792ad65541834f45","homepage":"https://bitbucket.org/MarkHerhold/palin#readme","_id":"palin@1.0.0","_shasum":"c2d2ab2e7da72359e5a101c25df950959e1b3999","_from":".","_npmVersion":"2.14.15","_nodeVersion":"5.3.0","_npmUser":{"name":"markherhold","email":"mark.herhold@gmail.com"},"dist":{"shasum":"c2d2ab2e7da72359e5a101c25df950959e1b3999","tarball":"https://registry.npmjs.org/palin/-/palin-1.0.0.tgz","integrity":"sha512-yn+X5ZlZwF3RYmpHZtUyL7yiUnl8RHCTOlQ0QA0LZM7JKyR9r6wptx+SYAk9dk9Zkonz866qW3cUY1DLs9/g2Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDN6B6sRtXLabzo6PaPV7q0s/ORUD9oh86YUim0dnQKywIgLLjLxInO2KyWEy1c2h7fxPvhUQ26M5Bc/uqBI8rE8YM="}]},"maintainers":[{"name":"markherhold","email":"mark.herhold@gmail.com"}],"directories":{}},"1.1.0":{"name":"palin","version":"1.1.0","description":"A beautiful Bristol formatter for development logging","main":"palin.js","engines":{"node":">=4.0.0"},"scripts":{"test":"eslint . && mocha test/"},"repository":{"type":"git","url":"git+https://github.com/MarkHerhold/palin.git"},"keywords":["color","logger","formatter","bristol"],"author":{"name":"Mark Herhold","email":"mark.herhold@gmail.com"},"license":"MIT","dependencies":{"chalk":"^1.1.1","check-types":"^5.1.0"},"peerDependencies":{"bristol":"~0.3.3"},"devDependencies":{"benchmark":"^1.0.0","chai":"^3.4.1","eslint":"^1.10.3","mocha":"^2.3.4"},"gitHead":"9413d8d3e2fec9de2059cbc9abc8beaac4e9c2e8","bugs":{"url":"https://github.com/MarkHerhold/palin/issues"},"homepage":"https://github.com/MarkHerhold/palin#readme","_id":"palin@1.1.0","_shasum":"ddcdb367ae2a5072d15f7807bfa4b7a882e7e322","_from":".","_npmVersion":"2.14.15","_nodeVersion":"5.3.0","_npmUser":{"name":"markherhold","email":"mark.herhold@gmail.com"},"dist":{"shasum":"ddcdb367ae2a5072d15f7807bfa4b7a882e7e322","tarball":"https://registry.npmjs.org/palin/-/palin-1.1.0.tgz","integrity":"sha512-EOsBxF0wsr6kaICrigXa1DfxXzLXwQ0HSHy3Us2e9UvHkyDt4G+p9spwvnlZxlb41XqG5+DJCDPG9+DcF/cM3A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBb3XSFAtp6p7S/6BVlvXnFikdf53e1o5E3xUB69YeqLAiEAg3zXx5C3Jvbxtsn/k/3KFLat8BmNw1LPvoLD/+TiI4c="}]},"maintainers":[{"name":"markherhold","email":"mark.herhold@gmail.com"}],"directories":{}},"1.1.1":{"name":"palin","version":"1.1.1","description":"A beautiful Bristol formatter for development logging","main":"palin.js","engines":{"node":">=4.0.0"},"scripts":{"test":"eslint . && mocha test/"},"repository":{"type":"git","url":"git+https://github.com/MarkHerhold/palin.git"},"keywords":["color","logger","formatter","bristol"],"author":{"name":"Mark Herhold","email":"mark.herhold@gmail.com"},"license":"MIT","dependencies":{"chalk":"^1.1.1","check-types":"^6.0.0"},"peerDependencies":{"bristol":"~0.3.3"},"devDependencies":{"benchmark":"^1.0.0","chai":"^3.4.1","eslint":"^1.10.3","mocha":"^2.3.4"},"gitHead":"62d07c50ac2b86bf722868d8b3c07e99e58ad15a","bugs":{"url":"https://github.com/MarkHerhold/palin/issues"},"homepage":"https://github.com/MarkHerhold/palin#readme","_id":"palin@1.1.1","_shasum":"ec3aed3dff61dbb82b0867cb26d8806a907e29a7","_from":".","_npmVersion":"3.6.0","_nodeVersion":"5.5.0","_npmUser":{"name":"markherhold","email":"mark.herhold@gmail.com"},"dist":{"shasum":"ec3aed3dff61dbb82b0867cb26d8806a907e29a7","tarball":"https://registry.npmjs.org/palin/-/palin-1.1.1.tgz","integrity":"sha512-pBZmtNGiLgNndN8aXc4JDXQd0NrfTTMy9jL/iPlbP4vk7GgANo6MvtJeA8ybOgok9McfjSncIPbH/PQd8Zz1GQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHvYMC1rTJ/fzv5JX/0Vm5dFw430n20FEDuVHGLmep4JAiA9FmSLL+U5HukZ4IyPeVeKiFuaxwiplyX+vI1VCU6qIg=="}]},"maintainers":[{"name":"markherhold","email":"mark.herhold@gmail.com"}],"_npmOperationalInternal":{"host":"packages-9-west.internal.npmjs.com","tmp":"tmp/palin-1.1.1.tgz_1455475245149_0.14481418882496655"},"directories":{}},"2.0.0":{"name":"palin","version":"2.0.0","description":"A beautiful Bristol formatter for development logging","main":"palin.js","engines":{"node":">=4.0.0"},"scripts":{"test":"eslint . && mocha test/"},"repository":{"type":"git","url":"git+https://github.com/MarkHerhold/palin.git"},"keywords":["color","logger","formatter","bristol"],"author":{"name":"Mark Herhold","email":"mark.herhold@gmail.com"},"license":"MIT","dependencies":{"chalk":"^1.1.1","check-types":"^6.0.0"},"peerDependencies":{"bristol":"~0.3.3"},"devDependencies":{"benchmark":"^1.0.0","bristol":"0.3.3","chai":"^3.4.1","eslint":"^1.10.3","mocha":"^2.3.4"},"gitHead":"9c4e4d2627370cbafcbfcb90edcbb6245266e5b7","bugs":{"url":"https://github.com/MarkHerhold/palin/issues"},"homepage":"https://github.com/MarkHerhold/palin#readme","_id":"palin@2.0.0","_shasum":"3f10889e628001cdbdd5f7235d42c7a4cc05e831","_from":".","_npmVersion":"2.14.2","_nodeVersion":"4.0.0","_npmUser":{"name":"markherhold","email":"mark.herhold@gmail.com"},"dist":{"shasum":"3f10889e628001cdbdd5f7235d42c7a4cc05e831","tarball":"https://registry.npmjs.org/palin/-/palin-2.0.0.tgz","integrity":"sha512-Km84zpzXe2PEwKCs9mfuoIcAZ9o/lJEJ3mftCiqUbBBNCPLEqAvkl/AsvTRFBa2TFnxNjtkzt+1UuUYXuiyYFw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD6BpL4OVxMPcaiNF99DzbvVLdMdMwES3FX6S+s0rYvFwIhAJrcSDvx9+tt0zuNx1Ic1hXe1sR9HPrRABIXjxDwFiac"}]},"maintainers":[{"name":"markherhold","email":"mark.herhold@gmail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/palin-2.0.0.tgz_1467256636863_0.9858093049842864"},"directories":{}},"2.0.1":{"name":"palin","version":"2.0.1","description":"A beautiful Bristol formatter for development logging","main":"palin.js","engines":{"node":">=4.0.0"},"scripts":{"test":"eslint . && mocha test/"},"repository":{"type":"git","url":"git+https://github.com/MarkHerhold/palin.git"},"keywords":["color","logger","formatter","bristol"],"author":{"name":"Mark Herhold","email":"mark.herhold@gmail.com"},"license":"MIT","dependencies":{"chalk":"^1.1.1","check-types":"^6.0.0"},"peerDependencies":{"bristol":"~0.3.3"},"devDependencies":{"benchmark":"^1.0.0","bristol":"0.3.3","chai":"^3.4.1","eslint":"^1.10.3","mocha":"^2.3.4"},"gitHead":"1a4ccb4a7cc116c1ff5cd4109ac5f731e2f369bc","bugs":{"url":"https://github.com/MarkHerhold/palin/issues"},"homepage":"https://github.com/MarkHerhold/palin#readme","_id":"palin@2.0.1","_shasum":"13b2184229311555a471721a68acd2d29d23c401","_from":".","_npmVersion":"3.8.6","_nodeVersion":"6.0.0","_npmUser":{"name":"markherhold","email":"mark.herhold@gmail.com"},"dist":{"shasum":"13b2184229311555a471721a68acd2d29d23c401","tarball":"https://registry.npmjs.org/palin/-/palin-2.0.1.tgz","integrity":"sha512-qHCztuu99rP0ucGyIUwW7/NDvMb32yrqtsbejXlRUu15eqJMZrdJxuE/pSglVAdDF3FDeRR5H2cnxT5JYddzDg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDodYInwzpOcCpM8zHwyqKzqBA84JnE3rgc7IYvzE9+kAIgdzA8JdPtcbp70lXpNm9gHO5/UgW13RUiN5oQFka8RNk="}]},"maintainers":[{"name":"markherhold","email":"mark.herhold@gmail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/palin-2.0.1.tgz_1470792486326_0.20209571812301874"},"directories":{}},"2.1.0":{"name":"palin","version":"2.1.0","description":"A beautiful Bristol formatter for development logging","main":"palin.js","engines":{"node":">=4.0.0"},"scripts":{"test":"eslint . && mocha test/"},"repository":{"type":"git","url":"git+https://github.com/MarkHerhold/palin.git"},"keywords":["color","logger","formatter","bristol"],"author":{"name":"Mark Herhold","email":"mark.herhold@gmail.com"},"license":"MIT","dependencies":{"chalk":"1.1.3","check-types":"^7.0.0"},"peerDependencies":{"bristol":"~0.3.3"},"devDependencies":{"benchmark":"^1.0.0","bristol":"0.3.3","chai":"^3.4.1","eslint":"3.4.0","mocha":"3.0.2"},"gitHead":"af80d86b6f77ddc55e68e4e7dcbafce4065f3153","bugs":{"url":"https://github.com/MarkHerhold/palin/issues"},"homepage":"https://github.com/MarkHerhold/palin#readme","_id":"palin@2.1.0","_shasum":"a687885cbeb12d654225f060623b32393f1aae01","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.4.0","_npmUser":{"name":"markherhold","email":"mark.herhold@gmail.com"},"dist":{"shasum":"a687885cbeb12d654225f060623b32393f1aae01","tarball":"https://registry.npmjs.org/palin/-/palin-2.1.0.tgz","integrity":"sha512-PcvoT5pYrWVW0787mRTPQ7r5Y+wwrnCatTzPuK+xU7CdlN0f8GPHSzmWIFVkNVwTMBEgXT2lJod4nfIp7muZbg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCTOHVskgvyi7Ce/f0rtC/cCemokeLSy1R8HtQye5ZVKwIgLqJLNoFhjlz56SGY4GieeiCfrtC6Rwg418V88ngx/u0="}]},"maintainers":[{"name":"markherhold","email":"mark.herhold@gmail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/palin-2.1.0.tgz_1472514962181_0.8484523789957166"},"directories":{}},"2.1.1":{"name":"palin","version":"2.1.1","description":"A beautiful Bristol formatter for development logging","main":"palin.js","engines":{"node":">=4.0.0"},"scripts":{"test":"eslint . && mocha test/"},"repository":{"type":"git","url":"git+https://github.com/MarkHerhold/palin.git"},"keywords":["color","logger","formatter","bristol"],"author":{"name":"Mark Herhold","email":"mark.herhold@gmail.com"},"license":"MIT","dependencies":{"chalk":"1.1.3","check-types":"^7.0.0"},"peerDependencies":{"bristol":"~0.3.3"},"devDependencies":{"benchmark":"^1.0.0","bristol":"0.3.3","chai":"^3.4.1","eslint":"3.4.0","mocha":"3.0.2"},"gitHead":"9ea76c4075869d4471a823f4caf52e08c9268e04","bugs":{"url":"https://github.com/MarkHerhold/palin/issues"},"homepage":"https://github.com/MarkHerhold/palin#readme","_id":"palin@2.1.1","_shasum":"ebadfe185ffeb773aada018ac849e300058940f2","_from":".","_npmVersion":"4.0.5","_nodeVersion":"7.2.1","_npmUser":{"name":"markherhold","email":"mark.herhold@gmail.com"},"dist":{"shasum":"ebadfe185ffeb773aada018ac849e300058940f2","tarball":"https://registry.npmjs.org/palin/-/palin-2.1.1.tgz","integrity":"sha512-z+Yi8ffZ7TGao+4NS4C37i3aOINZSBb1AUNlXlnCPuY1Cc6OMc6CbkfwSixviNLYmMOQ38RfkMxYmGyl5w4nGg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEKF0lLdv/XUUPTlS0ie+X2XLjgaigsmNI2dSxXaJSXAAiBKTYQ9jzKKsj8S3EW6B0dTKy9v9pa10G/tr08uzyUaLA=="}]},"maintainers":[{"name":"markherhold","email":"mark.herhold@gmail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/palin-2.1.1.tgz_1483756063161_0.9557560351677239"},"directories":{}},"2.2.0":{"name":"palin","version":"2.2.0","description":"A beautiful Bristol formatter for development logging","main":"palin.js","engines":{"node":">=4.0.0"},"scripts":{"test":"eslint . && mocha test/"},"repository":{"type":"git","url":"git+https://github.com/MarkHerhold/palin.git"},"keywords":["color","logger","formatter","bristol"],"author":{"name":"Mark Herhold","email":"mark.herhold@gmail.com"},"license":"MIT","dependencies":{"chalk":"^2.0.1","check-types":"^7.0.0","strip-ansi":"^4.0.0"},"peerDependencies":{"bristol":"~0.3.3"},"devDependencies":{"benchmark":"^2.1.4","bristol":"0.3.3","chai":"^4.0.2","eslint":"^4.1.1","mocha":"^3.4.2"},"gitHead":"d8393aa2c302d7d86b054c661f8a209b8f73a18d","bugs":{"url":"https://github.com/MarkHerhold/palin/issues"},"homepage":"https://github.com/MarkHerhold/palin#readme","_id":"palin@2.2.0","_shasum":"6e6fb3be98071ca780bd01fcd1ac5220c0bbf0ab","_from":".","_npmVersion":"4.2.0","_nodeVersion":"7.10.0","_npmUser":{"name":"markherhold","email":"mark.herhold@gmail.com"},"dist":{"shasum":"6e6fb3be98071ca780bd01fcd1ac5220c0bbf0ab","tarball":"https://registry.npmjs.org/palin/-/palin-2.2.0.tgz","integrity":"sha512-aEbpQv/++hXpG/jhqUESsj4FB4qmjRfxLrhklVCEnkoEz4D1fu65wSfnhmnJCvtvgkjNR88FPoxBcnkY4mNiBw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDtqQRSDONTCR+q/VcC28F0MWww9h0Y2Kk4SCPHhrV4cAIhALhWJCP28fSn4D911l09p7GEtccHb+aYxZIppQsD56DD"}]},"maintainers":[{"name":"markherhold","email":"mark.herhold@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/palin-2.2.0.tgz_1499114624866_0.9848352789413184"},"directories":{}},"2.3.0":{"name":"palin","version":"2.3.0","description":"A beautiful Bristol formatter for development logging","main":"palin.js","engines":{"node":">=4.0.0"},"scripts":{"test":"eslint . && mocha test/"},"repository":{"type":"git","url":"git+https://github.com/MarkHerhold/palin.git"},"keywords":["color","logger","formatter","bristol"],"author":{"name":"Mark Herhold","email":"mark.herhold@gmail.com"},"license":"MIT","dependencies":{"chalk":"^2.0.1","check-types":"^8.0.2","strip-ansi":"^5.2.0"},"peerDependencies":{"bristol":"~0.4.0"},"devDependencies":{"benchmark":"^2.1.4","bristol":"~0.4.0","chai":"^4.0.2","eslint":"^5.16.0","mocha":"6.1.4"},"gitHead":"7916a875a5752f144042263e885db338a294fc2a","bugs":{"url":"https://github.com/MarkHerhold/palin/issues"},"homepage":"https://github.com/MarkHerhold/palin#readme","_id":"palin@2.3.0","_nodeVersion":"12.2.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-fZuBJXP3fBYuqLBir7rGEWIOyQeXpc4GvbxCjeqtXbiSu3Uq5msH7je0wDLXPpm3Qyw+0bmfkU0buRir3tUk1w==","shasum":"88ce735684b1d38becc2707d226b026fe70357cf","tarball":"https://registry.npmjs.org/palin/-/palin-2.3.0.tgz","fileCount":5,"unpackedSize":13541,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc6Dy6CRA9TVsSAnZWagAAz/AP/2J/HgsZmYeLWMVjWWX7\nPAdv/9FaD2YEW6v/ZvTWXHXLZASBwRcvzp8NfHmigE+UjzgPQWqXJeZs2Qdo\nITnBL7chfzYkNPEukCD3Cph8OUkW5HAxoGX2CVEWNqqHy6fmO+EUUuO/EvQD\nJVLeyO7taZFPIDtIFe3hgOIGDs+fJaBKS812/54xY0pM3k0iKVHQpC45+ZI9\nCp3QVguK8LFPPitbOSY2zd7W1coxqlfs9hRnZG0CY56/dqxJQEVnrNgqv2+T\nqnaea5zP9HVgpTJvXS1kKZJI/sCuBZ7zkGKkQezuD260MCVjWGgB3QXtlXVF\nnnxIDPCLbiCOuxV6YQz7PqY5CAMJ/9abEQX4frDz24JiJLl/HQlIrtDbAVsw\nAgaTuPgq4INbwTXSUSqZsiuoc4R/nPtWpD1v7xxIWLJ4RMQYujNXil8mbzk8\nb8HiITXQKOs61PWU7a4fZ1ucLJqt+iC8K66Wa7+QolCmfXA/CZpPe58Kh7t/\nHiaPHtDKzJvAi4sirCHFMpj1D5JnbSPFgIYL8W9h/jGt/8bTFUrjNcirchmf\nndKHNsJE4Z/Qst33qyLqVq2+ZscXJ0fNFeJo6S+DmySReNoE6BouKtXfjBic\nH1TR/2UrfJHkWmxCMx+MhTe7beS0CkmlC51qDqIN23BCvMVGhybQV/YmVhLD\nUDln\r\n=UGF2\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCeA2AVM3AnV8+fSkS2BgMH8N3UimX1hRm1HHKBSJWhxQIgKizGVxo4ugtvjGTwKA+85g9Wp8jBjcZtXfcUwj+R/kw="}]},"maintainers":[{"name":"markherhold","email":"mark.herhold@gmail.com"}],"_npmUser":{"name":"markherhold","email":"mark.herhold@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/palin_2.3.0_1558723770044_0.5651923212406103"},"_hasShrinkwrap":false}},"readme":"# Palin\n> Palin is a beautiful [Bristol](https://github.com/TomFrost/Bristol) formatter for development logging.\n\n[![Build Status](https://travis-ci.org/MarkHerhold/palin.svg?branch=master)](https://travis-ci.org/MarkHerhold/palin)\n\n## Preview\n![preview](preview.png)\n\n## Use\nInstall with `npm install palin --save`\n\nPlease remember to star ⭐️ this repo!\n\n```js\nconst log = require('bristol');\nconst palin = require('palin');\nlog.addTarget('console').withFormatter(palin);\n\nlog.info(\"We're up and running!\");\n```\n\nOne of Palin's main features is the ability to log whatever you throw at it. For example, you may want to log two Errors and other associated data.\n```js\nconst err1 = new Error('Error 1');\nconst err2 = new Error('Error 2');\nlog.error('oh, snap!', err1, err2, [ 'thing', 123 ])\n```\nProduces:\n```\n23:00:46:035 ERROR oh, snap! (test/integration.js:16)\n  →  { '0': 'thing', '1': 123 }\n  →  Error: Error 1\n  →      at Object.<anonymous> (/Users/Mark/projects/palin/test/integration.js:14:12)\n  →      at Module._compile (module.js:425:26)\n  →      at Object.Module._extensions..js (module.js:432:10)\n  →      at Module.load (module.js:356:32)\n  →      at Function.Module._load (module.js:313:12)\n  →      at Function.Module.runMain (module.js:457:10)\n  →      at startup (node.js:138:18)\n  →      at node.js:974:3\n  →  Error: Error 2\n  →      at Object.<anonymous> (/Users/Mark/projects/palin/test/integration.js:15:12)\n  →      at Module._compile (module.js:425:26)\n  →      at Object.Module._extensions..js (module.js:432:10)\n  →      at Module.load (module.js:356:32)\n  →      at Function.Module._load (module.js:313:12)\n  →      at Function.Module.runMain (module.js:457:10)\n  →      at startup (node.js:138:18)\n  →      at node.js:974:3\n```\n\n## API\n\n### Formatter Options\nAs per the Bristol logger API, you may specify options for formatters.\n\n```js\nlog\n  .addTarget('console')\n  .withFormatter(palin, {\n    // formatter options go here\n  });\n```\n\n#### Root Folder\nPalin logs the file path where log messages originate from. Usually these paths are needlessly long. The `rootFolderName` option allows you to specify a string prefix of where to shorten the path.\n\n```js\nlog\n  .addTarget('console')\n  .withFormatter(palin, {\n    rootFolderName: 'MyProject'\n  });\n  // produces log messages like:\n  //  08:54:25:892 LOG hello (controller/hello.js:9)\n  // instead of:\n  //  08:54:25:892 LOG hello (/Users/Mark/projects/MyProject/controller/hello.js:9)\n```\n\n#### Timestamp\nPalin logs timestamps in the \"HH:mm:ss:SSS\" format by default. You may want your timestamps to be different. This can be controlled with the `timestamp` option.\n\nYou can disable timestamps:\n```js\nlog\n  .addTarget('console')\n  .withFormatter(palin, {\n    timestamp: false\n  });\n```\n\nYou can also provide your own timestamp function (shown with [Moment.js](https://github.com/moment/moment)):\n```js\nvar moment = require('moment'); // using moment.js\nlog\n  .addTarget('console')\n  .withFormatter(palin, {\n    timestamp: function(date) {\n        return moment(date).format(); // produces moment's default format\n    }\n  });\n```\n\n#### Indent\nAny information that is attached to a log message is indented and included on the next line. The indentation format can be controlled with the `indent` option.\n\n```js\nlog\n  .addTarget('console')\n  .withFormatter(palin, {\n    indent: '\\n    ⇒  '\n  });\n```\n\n#### Object Depth\nPalin formats objects using the built-in `require('util').inspect()`. Use the `objectDepth` option to increase depth of each object printed.\n\n```js\nlog\n  .addTarget('console')\n  .withFormatter(palin, {\n    objectDepth: 5 // instead of inspect's default level ( usually 2 )\n  });\n```\n\n#### Source\nHide the source line/file of messages. Useful for logging purely informational messages.\n\n```js\nlog\n  .addTarget('console')\n  .withFormatter(palin, {\n    souce: false\n  });\n```\n\n## Other features\nPalin supports the concept of a \"scope\", which is a way of labeling groups of log messages. To use this, simply add an object with the key `scope` to the list of arguments. The color of the scope variable will be maintained for the lifetime of the the Bristol logger.\n\n```js\nlog.info('hello world', { scope: 'welcome' });\n// produces:\n// 08:54:25:892 INFO controller welcome (controller/hello.js:9)\n```\n","maintainers":[{"name":"markherhold","email":"mark.herhold@gmail.com"}],"time":{"modified":"2022-06-23T08:28:29.451Z","created":"2016-01-03T20:33:03.769Z","1.0.0":"2016-01-03T20:33:03.769Z","1.1.0":"2016-01-09T18:47:41.292Z","1.1.1":"2016-02-14T18:40:48.764Z","2.0.0":"2016-06-30T03:17:18.483Z","2.0.1":"2016-08-10T01:28:08.950Z","2.1.0":"2016-08-29T23:56:03.496Z","2.1.1":"2017-01-07T02:27:43.866Z","2.2.0":"2017-07-03T20:43:45.832Z","2.3.0":"2019-05-24T18:49:30.199Z"},"homepage":"https://github.com/MarkHerhold/palin#readme","keywords":["color","logger","formatter","bristol"],"repository":{"type":"git","url":"git+https://github.com/MarkHerhold/palin.git"},"author":{"name":"Mark Herhold","email":"mark.herhold@gmail.com"},"license":"MIT","readmeFilename":"README.md","bugs":{"url":"https://github.com/MarkHerhold/palin/issues"}}