Lines Matching full:logger
26 // * logger (GTMLogger) - The main logging class that users interact with. It
127 // GTMLogger has the concept of "standard loggers". A standard logger is simply
128 // a logger that is pre-configured with some standard/common writer, formatter,
130 // methods beginning with "standard". The alternative to a standard logger is a
131 // regular logger, which will send messages to stdout, with no special
140 // GTMLogger class directly in order to configure the shared logger, which all
163 // 3. Send all logging output from the shared logger to a file. We do this by
165 // that file handle as the logger's writer.
174 // from the shared logger.
176 // GTMLogger *logger = [GTMLogger standardLoggerWithPath:@"/tmp/temp.log"];
177 // [logger logInfo:@"hi temp log file"];
179 // 5. Create a logger that writes to stdout and does NOT do any formatting to
183 // GTMLogger *logger = [GTMLogger logger];
184 // [logger logInfo:@"%@ version 0.1 usage", progName];
196 // GTMLogger *logger = [GTMLogger standardLogger];
197 // [logger setWriter:writers];
198 // [logger logInfo:@"hi"]; // Output goes to stdout and /tmp/f.log
217 // Accessors for the shared logger instance
226 // Sets the shared logger instance to |logger|. Future calls to +sharedLogger
227 // will return |logger| instead.
228 + (void)setSharedLogger:(GTMLogger *)logger;
257 // basic formatter, and no filter. The returned logger differs from the logger
260 // "regular" logger and a "standard" logger.
261 + (id)logger;
394 // This is useful when you want to configure a logger to log to a specific