// // properties.hpp // logger // // Created by Sam Jaffe on 10/3/15. // // #pragma once #include #include #include namespace logging { struct properties { operator std::string const &() const; properties const & operator[](std::size_t idx) const; properties const & operator[](std::string const & key) const; const enum { STRING, OBJECT, ARRAY } type; const std::map obj; const std::vector array; const std::string value; }; }