/**
 * Logger for {{command.name}}.
 * @memberof module:{{pkg.name}}/lib
 * @inner
 * @augments module:apeman-commons-logging/lib~ConsoleLogger
 * @constructor {{pascalcase command.name}}Logger
 * @param {object} config - Logger configuration.
 */

"use strict";

var ConsoleLogger = require('apeman-commons-logging/lib/console_logger'),
    MessageFormatter = require('apeman-commons-logging/lib/message_formatter');

module.exports = ConsoleLogger.define(
    {
        /** @lends module:{{pkg.name}}/lib~{{pascalcase command.name}}Logger.prototype */
        logConfig: function (name, config) {
            var s = this;
            var formatter = new MessageFormatter();
            s.debug(name);
            s.debug(formatter.toYaml(config));
            return s;

        }
    }
);
