<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>Forem: Henrick Ferreira Saraiva</title>
    <description>The latest articles on Forem by Henrick Ferreira Saraiva (@rickferr).</description>
    <link>https://forem.com/rickferr</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F1438861%2F9d980da9-86d8-45a4-b427-45fba17633e3.png</url>
      <title>Forem: Henrick Ferreira Saraiva</title>
      <link>https://forem.com/rickferr</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://forem.com/feed/rickferr"/>
    <language>en</language>
    <item>
      <title>Introducing Bea Logger: A colorful and customizable logging library for Node.js</title>
      <dc:creator>Henrick Ferreira Saraiva</dc:creator>
      <pubDate>Sun, 26 Oct 2025 02:14:28 +0000</pubDate>
      <link>https://forem.com/rickferr/introducing-bea-logger-a-colorful-and-customizable-logging-library-for-nodejs-1jmc</link>
      <guid>https://forem.com/rickferr/introducing-bea-logger-a-colorful-and-customizable-logging-library-for-nodejs-1jmc</guid>
      <description>&lt;p&gt;Hello everyone!&lt;/p&gt;

&lt;p&gt;I'd like to share a project I recently developed: Bea Logger 🌸&lt;/p&gt;

&lt;p&gt;It's a logging library for Node.js written in TypeScript, created with a focus on providing colorful and highly customizable outputs for applications.&lt;/p&gt;

&lt;p&gt;Main features:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Colorful outputs with ANSI color support&lt;/li&gt;
&lt;li&gt;Highly customizable (colors, formats, and styles)&lt;/li&gt;
&lt;li&gt;Multiple logging levels (Error, Success, Info, Trace, Debug, Fatal)&lt;/li&gt;
&lt;li&gt;Optional timestamps with ISO formatting&lt;/li&gt;
&lt;li&gt;Complete TypeScript typing&lt;/li&gt;
&lt;li&gt;Simple and intuitive API&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Quick example:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight javascript"&gt;&lt;code&gt;&lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="nx"&gt;Logger&lt;/span&gt; &lt;span class="k"&gt;from&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;@rickferrdev/bea-logger&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;logger&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="k"&gt;new&lt;/span&gt; &lt;span class="nc"&gt;Logger&lt;/span&gt;&lt;span class="p"&gt;();&lt;/span&gt;
&lt;span class="nx"&gt;logger&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;info&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;Informational message&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
&lt;span class="nx"&gt;logger&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;success&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;Operation completed successfully&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
&lt;span class="nx"&gt;logger&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;error&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;Error during execution&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Output:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;[INFO] (2023-10-05T14:30:00.000Z) Informational message
[SUCCESS] (2023-10-05T14:30:00.001Z) Operation completed successfully
[ERROR] (2023-10-05T14:30:00.002Z) Execution error
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;About development:&lt;br&gt;
This project was created primarily for educational and study purposes, but it is fully functional and ready to use. It was a very enriching journey to deepen my knowledge of TypeScript, library development, and publishing on npm.&lt;/p&gt;

&lt;p&gt;Links:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;npm: &lt;a href="https://www.npmjs.com/package/@rickferrdev/bea-logger" rel="noopener noreferrer"&gt;https://www.npmjs.com/package/@rickferrdev/bea-logger&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;GitHub: &lt;a href="https://github.com/rickferrdev/bea-logger" rel="noopener noreferrer"&gt;https://github.com/rickferrdev/bea-logger&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Documentation in Portuguese: available in the repository&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Feel free to test, give feedback, or contribute! Any suggestions or constructive criticism are very welcome.&lt;/p&gt;

&lt;p&gt;Thank you! 😊&lt;/p&gt;

</description>
      <category>node</category>
      <category>typescript</category>
      <category>javascript</category>
      <category>npm</category>
    </item>
  </channel>
</rss>
